Information for the IT Community - Tweaks and Solutions for the Microsoft Windows Systems and Linux.

Sep 12, 2011

Powershell: Enable running unsigned scripts

To enable Powershell profile (it's an unsigned ps1) you must set the policy to either:
- 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.

Execute the command in a PS shell, with an administrative user:

Set-ExecutionPolicy Unrestricted

No comments: