When hit: cannot be loaded because the execution of scripts is disabled on this system
Set-ExecutionPolicy RemoteSigned
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.
http://technet.microsoft.com/en-us/library/ee176961.aspx
Set-ExecutionPolicy RemoteSigned
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.
http://technet.microsoft.com/en-us/library/ee176961.aspx
No comments:
Post a Comment