Skip to content

PowerShell – Execution of Scripts is Disabled on this System

Execution of Scripts is Disabled on this System

When you try and run a #PowerShell Script and you are faced with the Error “Execution of Scripts is Disabled”

The quick work around for this is to change the current Execution Policy using the following.

Lets Change the Execution Policy by running a #OneLiner

On the next screen select ‘Yes’ to Continue

Lets rerun the script again after setting the “Execution Policy”

After setting the ‘Execution Policy’ the Script is running with our any issues.

 

 




Sharing is caring!

Published inPowerShellWindowsWindows Server 2012

Be First to Comment

Leave a Reply

Your email address will not be published.