Overview
In order execute a PowerShell script is the view and change Execution Policy.
Applies To
Pre-Requisites
Policy | Purpose |
---|---|
Restricted | No scripts can be run. Windows PowerShell can be used only in interactive mode. |
AllSigned | Only scripts signed by a trusted publisher can be run. |
RemoteSigned | Downloaded scripts must be signed by a trusted publisher before they can be run. |
Unrestricted | No restrictions; all Windows PowerShell scripts can be run. |
Current Execution Policy
To list execution policies that can be configured run the PowerShell cmdlet; Get-ExecutionPolicy -List
SlideShare Information
Step by step guide with screenshot is uploaded to slideshare.
No comments:
Post a Comment