Pages

Sunday, 22 July 2012

PowerShell Execution Policy Commands



Set-ExecutionPolicy Restricted

Set-ExecutionPolicy AllSigned

Set-ExecutionPolicy Unrestricted

Set-ExecutionPolicy RemoteSigned

When any of the above command is run, following registry value changes:


HKLM\Software\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell

Restricted
AllSigned
RemoteSigned
Unrestricted

No comments:

Post a Comment