February 2013
Intermediate to advanced
304 pages
8h 26m
English
Scenario/Problem: You need to be able to run unsigned scripts within PowerShell.
Solution: Use the Set-ExecutionPolicy command.
To run unsigned scripts, you must change the execution policy:
Set-ExecutionPolicy remotesigned
You are prompted with a confirmation. Enter Y and press Enter (or just press Enter—Y is the default).
In some cases, you must set the policy to Unrestricted:
Set-ExecutionPolicy unrestricted
Tip
For more information on signing scripts, see http://technet.microsoft.com/en-us/library/dd347649.aspx
Read now
Unlock full access