Out of the box, Powershell execution is restricted to “RemoteSigned,” which means downloaded scripts must be signed by a trusted publisher before they can be run. In order to allow all scripts to run, you need to set the execution policy to unrestricted.

Note that you have to run Powershell in administrator mode before you can change the execution policy by selecting “run as administrator.”