*.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

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>