How to set PowerShell 7 as default and remove other versions

Viewed 31318

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?

2 Answers

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 Windows terminal screen to selext default profile

Related