Reputation: 3864
I want to set PowerShell 7
as the default shell. So when I shift right click in File Explorer and click on "Open PowerShell window here"
in the context menu, I want PowerShell 7
to come up.
And I want to remove completely the other versions.
Is there anyway to do that?
Upvotes: 108
Views: 154612
Reputation: 2492
To make PowerShell 7 the default shell for Windows Terminal, follow these steps:
Good Luck!
Source:
https://www.codyhosterman.com/2020/05/defaulting-windows-terminal-to-powershell-7-x-core/
Upvotes: 71
Reputation: 1261
As of 2023.3.30 - for windows 11
Upvotes: 18
Reputation: 165
to change powerShell version in windows 11, follow these steps
that's it
Upvotes: 0
Reputation: 351
If you have Windows Terminal: Follow these steps:
Click the dropdown and go to Settings
On the General Tab, you will see default profile, click the dropdown and select the profile you would like to be default
Upvotes: 25