Skip to main content

PS 7 & VS Code

Edit settings.json and add this snippet of code:


{
    "powershell.powerShellAdditionalExePaths": {
        "pwsh": "c:\\program files\\powershell\\7\\pwsh.exe"
    },
    "powershell.powerShellDefaultVersion": "pwsh"
}