Skip to content

Instantly share code, notes, and snippets.

@deependhamecha
Created January 5, 2022 11:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deependhamecha/af6802c2416ec0e5fd51ca49cee51efc to your computer and use it in GitHub Desktop.
Save deependhamecha/af6802c2416ec0e5fd51ca49cee51efc to your computer and use it in GitHub Desktop.
Visual Code running scripts error

Open vscode and settings.json and paste this:

"terminal.integrated.profiles.windows": {
  "PowerShell": {
    "source": "PowerShell",
    "icon": "terminal-powershell",
    "args": ["-ExecutionPolicy", "Bypass"]
  }
},
"terminal.integrated.defaultProfile.windows": "PowerShell"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment