Remix.run Logo
▲ Schlagbohrer an hour ago

I recently installed Powershell 7 because apparently that is different than the powershell that comes with windows. It's great, but, now I have at least 3 different Powershells in my OS? Why? And they function very differently. I had to change all the defaults for opening a new terminal or new shell window in Windows because many of the defaults kept giving me one of the old powershells which I wouldnt figure out until my commands and scripts kept giving errors, since they use commands which only exist in Powershell 7. Cannot believe Microsoft decided to copy Python's original sin and create several conflicting, coexisting installations of the exact same thing, but different incompatible versions. Whyyyyyyyy

Regarding the article: Corbin Davenport is an amazing name. Nice article too.

▲cherrychon an hour ago | parent | next [-]

>3 versions NOO! Maybe there is one 5.x? You should get rid of these. Version 1.0/2.0 is called 'WindowsPowershell' (powershell.exe), it's usually in your System32 for compatibility reason. 'PowerShell7' (pwsh.exe) is the modern one. It Imports most Modules/Scripts from the former, except for 3 Modules or so which are incompatible.

PS> Get-Help -Name 'InsertName' -Full Shows the Help, can be Imported/Created via XML 4 New Modules PS> Update-Help -UICulture en-US Fetches & Installs Help Files in English

Hope that helps!

▲bulbar 28 minutes ago | parent | prev [-]

> It's great, but, now I have at least 3 different Powershells in my OS? Why?

Have you never used a Linux distro? I always end up with two windows managers, two login managers, 2-3 shells, 2-3 package managers and what not.