-
Notifications
You must be signed in to change notification settings - Fork 511
Get session menu doesn't show what we defined in powershell.powerShellAdditionalExePaths
#3978
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@frankchen76, here's a solution: Issue #3977. Change the "powershell.powerShellAdditionalExePaths": {
"PowerShell 5.1": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"PowerShell 7": "C:\\Program Files\\PowerShell\\7\\pwsh.exe"
} |
Sorry about that, I think this was an unexpected change in behavior due to #3919 (but now you can do this in the GUI!) |
@andschwa maybe this should actually be a new setting name so we can flag the old setting name/style as deprecated? |
It's a little late now 🤷 |
@sangafabrice, thanks for your help. I confirmed that your suggestion works fine on my side. |
This issue has been marked as answered and has not had any activity in a day. It has been automatically closed for housekeeping purposes. |
powershell.powerShellAdditionalExePaths
Prerequisites
Summary
for recent update, I no longer see what I defined in powershell.powerShellAdditionalExePaths showed up from session menu. the below is what settings I have
I don't see those options are displayed at session menu below:

when I checked my settings, I also see the below yellow line to indicate the error which I've never seen before

any ideas how to correct that?
PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
include the below JSON into settings
click "Command palette" -> "PowerShell:Show Session menu", I should be able to see above options.
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: