Skip to content

Instantly share code, notes, and snippets.

@Ddedalus
Created August 15, 2019 17:13
Show Gist options
  • Save Ddedalus/95a62f024df220e4d399d04cf5f73572 to your computer and use it in GitHub Desktop.
Save Ddedalus/95a62f024df220e4d399d04cf5f73572 to your computer and use it in GitHub Desktop.
Set execution policy in PowerShell
# must run from the shell:
# Policies are described here:
# https://docs.microsoft.com/en-gb/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-6
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment