Table 2: PowerShell execution policies
Execution Policy |
Execution Context |
Restricted |
Users can issue commands at the PowerShell prompt but can't call scripts. |
AllSigned |
Users can run scripts, but the scripts and any configuration files must be signed by a trusted publisher. |
RemoteSigned (default for Exchange Management Shell) |
Users can run scripts. Scripts and configuration files that are downloaded from communications applications such as Microsoft Outlook, Outlook Express, Microsoft Internest Explorer, and Windows Messenger must be signed by a trusted publisher. |
Unrestricted |
Users can run scripts. Scripts that are downloaded from communications applications can be run after the user acknowledges that this content may be dangerous; no signature is required. |