Allowing PowerShell executing scripts

By default PowerShell is restricted to not allow script execution. To allow script execution do the following

Open PowerShell in elevated mode (run as administrator) and run the following command:
Set-ExecutionPolicy unrestricted

To verifiy how if script execution is allowed or not run the following command in PoweShell:
Get-ExecutionPolicy

Leave a Comment