Skip to content

Instantly share code, notes, and snippets.

@Will-777
Created December 11, 2018 06:38
Show Gist options
  • Save Will-777/85eece8d6bcbc4ffe2cf53278d2b2f64 to your computer and use it in GitHub Desktop.
Save Will-777/85eece8d6bcbc4ffe2cf53278d2b2f64 to your computer and use it in GitHub Desktop.
To Allow Powershell scripts on windows10
Open Run Command/Console ( Win + R )
Type: gpedit.msc (Group Policy Editor)
Browse to Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Windows Powershell.
Enable "Turn on Script Execution"
Set the policy as needed. I set mine to "Allow all scripts".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment