PowerShell Scripts Cannot be loaded
To clear the below error
1) Run the Power Shell as administrator
2) Enter the below command
Set-ExecutionPolicy -Scope "CurrentUser" -ExecutionPolicy "Unrestricted"
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"

Comments
Post a Comment