I have a small project that depends on Windows PowerShell (5.1).
MyReport/
├── .vscode
│ └── settings.json
├── Classes.ps1
├── Get-Report.ps1
└── config.jsonc
When I open the folder MyReport, it always starts PowerShell 7 in the integrated terminal.
My .vscode/settings.json looks like this:
{
"powershell.powerShellDefaultVersion": "Windows PowerShell",
"terminal.integrated.defaultProfile.windows": "Windows PowerShell",
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe"
}
What do I have to change, to make Windows PowerShell (5.1) the integrated terminal?
I'm using VSCode version 1.66.