Skip to content

Instantly share code, notes, and snippets.

@timothywarner
Created April 16, 2019 15:24
Show Gist options
  • Save timothywarner/b526ab3887fddc6e1309f38265462fdd to your computer and use it in GitHub Desktop.
Save timothywarner/b526ab3887fddc6e1309f38265462fdd to your computer and use it in GitHub Desktop.
Configure VSCode to launch multiple PowerShell versions (Windows)
{
// Set the default PowerShell engine for VSCode integrated terminal
"terminal.integrated.shell.windows": "c:/Program Files/PowerShell/6/pwsh.exe",
// Create Shell Launcher launch options
"shellLauncher.shells.windows": [
{
"shell": "c:\\Program Files\\PowerShell\\6\\pwsh.exe",
"label": "PowerShell Core"
},
{
"shell": "C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\powershell.exe",
"label": "PowerShell Desktop"
}
]
}
@timothywarner
Copy link
Author

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