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?
Windows PowerShell comes installed by default in every Windows, starting with Windows 7 SP1 and Windows Server 2008 R2 SP1. If you are interested in PowerShell 7 and later, you need to install PowerShell instead of Windows PowerShell. For more information, see Installing PowerShell on Windows.
Improved backwards compatibility with Windows PowerShell PowerShell 7.0 marks a move a to . NET Core 3.1, enabling significantly more backwards compatibility with existing Windows PowerShell modules.
There are two ways to upgrade: You can download the PowerShell Core MSI installer manually from GitHub; You can download and install (update) it directly from the PowerShell console.
Follow these steps:
Good Luck!
Source:
https://www.codyhosterman.com/2020/05/defaulting-windows-terminal-to-powershell-7-x-core/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With