Skip to content

Instantly share code, notes, and snippets.

@Fastidious
Last active October 4, 2017 11:44
Show Gist options
  • Save Fastidious/a15f9f27c0eb56260ac7 to your computer and use it in GitHub Desktop.
Save Fastidious/a15f9f27c0eb56260ac7 to your computer and use it in GitHub Desktop.
Powershell execution

Run unsigned powershell scripts

Set-ExecutionPolicy RemoteSigned

To allow pwshell scripts to run, and:

Set-ExecutionPolicy Restricted

To restrict their execution again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment