Monthly Archives: June 2013

*.ps1 cannot be loaded because the execution of the script is disabled on this system.

When executing a powserscript on a windows machine you can encounter the error *.ps1 cannot be loaded because the execution of the script  is disabled on this system. Please see “get-help about_signing for more details.” This nice security feature prevents us from running the script because it’s not signed.

This feature can be disable by running:

Set-ExecutionPolicy Unrestricted

Or by searching what is appropriate for your system at http://technet.microsoft.com/en-us/library/ee176949.aspx