Skip to content

Instantly share code, notes, and snippets.

@thc282
Last active June 25, 2024 02:34
Show Gist options
  • Save thc282/e7caca88fcc625e8633d5a5dcc5c1d3b to your computer and use it in GitHub Desktop.
Save thc282/e7caca88fcc625e8633d5a5dcc5c1d3b to your computer and use it in GitHub Desktop.
fix ps1 cannot be loaded because running scripts is disabled on this system

To fix the ExecutionPolicy

ps1 cannot be loaded because running scripts is disabled on this system

Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser

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