Let users choose which PowerShell version the terminal uses

On windows, the terminal button always opens the old built-in Windows PowerShell (5.1). Because of that, it keeps showing the “please update PowerShell” prompt — and installing the newer PowerShell 7 doesn’t help, since the app doesn’t pick it up. Could you add an option for users to choose which PowerShell version (or shell) the terminal launches? That would let those of us who already have PowerShell 7 installed use it, and get rid of the update prompt. Thanks!

Hi nfinsane,

Currently, you can add custom shells by adding the ‘Local Shell’ type server.

For the yellow terminal button, would this change solve your issue? Clicking the main button launches your default shell, while a small arrow next to it opens a dropdown list of all your configured local shells.

Yes, but only if the selected Local Shell can become the default shell for the main yellow terminal button. I understand this may sound like a small UI detail, but in daily use it makes a big difference. I really like the yellow terminal button and use it often because it is fast and convenient. In my case, I can already add PowerShell 7 as a Local Shell, and it appears in the connections list. But what I really want is to keep using the yellow terminal button and have it open PowerShell 7 instead of the built-in Windows PowerShell 5.1. So the arrow/dropdown would be great if it lets me choose which configured Local Shell becomes the default for the main yellow button. If the main yellow button still always opens the old Windows PowerShell 5.1 and the arrow only opens a separate dropdown, then it would only partially solve the issue. I am not asking to remove the current behavior for other users - just to make the default shell configurable. Thanks in advance for looking into this, and for your work!!

Could you maybe combine two things? :grinning_face: A setting to pick which Local Shell is the default for the yellow button so I could just set PowerShell 7 once and have the button always open it (and finally lose that “update PowerShell” prompt). Plus the arrow/dropdown you mentioned for quickly opening other shells in a new window. That way the button does what I need by default, and the dropdown handles the rest. Nothing changes for other users if they don’t touch the setting.

1 Like

Makes sense. It will come in the next release.

1 Like

Hi,

This feature is live on 3.12.2, please check it out

Works perfectly, exactly what I needed. ty!

1 Like