Tuesday, June 4, 2013

PowerShell cannot be loaded because the execution of scripts is disabled on this system

Here is the error which you will face when you run powershell first time on any new envrionment.

By default execution policy for powershell will be disabled in any server. This can be enabled through script property.

Run Powershell as administrator and type

Set-ExecutionPolicy Unrestricted
Thank you !!

No comments:

Post a Comment