July 6, 2015

// // Leave a Comment

PowerShell Scripts Cannot be loaded

To clear the below error

File D:\Execute.ps1 cannot be loaded because running scripts is disabled on this
system. For more information, see about_Execution_Policies at http://go.microsoft.com/fwlink/?LinkID=135170.

1) Run the Power Shell as administrator
2) Enter the below command

Set-ExecutionPolicy -Scope "CurrentUser" -ExecutionPolicy "Unrestricted"


Post a Comment