Skip to content

Instantly share code, notes, and snippets.

@KristofferRisa
Created September 14, 2015 08:54
Show Gist options
  • Save KristofferRisa/be63748caf87d3a4d016 to your computer and use it in GitHub Desktop.
Save KristofferRisa/be63748caf87d3a4d016 to your computer and use it in GitHub Desktop.
Get and set Exectuion policy in PowerShell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Process
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
get-executionPolicy -list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment