I just updated PowerShell to 7.2.1:
But the old is still installed:
How do I remove the old one? Having both installed is kinda redundant I suppose.
You don't. PowerShell Core (6+) installs alongside Windows PowerShell (up to 5.1). Windows PowerShell still contains proprietary code that has not yet been open sourced, or never will be in the foreseeable future. The main difference between the two is that PowerShell Core runs on .NET Core, and Windows PowerShell relies on .NET Framework. There is no more new development for Windows PowerShell, as new features find their way into PowerShell Core instead.
There are unrecommended and unsupported ways to purge the system of Windows PowerShell but you will very literally break parts of Windows in the process. As ofVersion 21H1 (OS Build 22000.466)
Windows PowerShell remains a dependency of the core operating system and likely will be for some time yet.
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