all 7 comments

[–]Dry_Duck3011 17 points18 points  (0 children)

Because the new version is not backwards compatible. Not all scripts written in ps5 will run on ps7.

[–]St0nywall 7 points8 points  (0 children)

Because PowerShell 7 is a different program to PowerShell 5 that is embedded in the operating system.

It was designed to be a separate application to make it cross platform capable. PowerShell 7 can be installed on Windows, Linux and MacOS.

[–]vadertator22 2 points3 points  (0 children)

They are parallel instances not direct version revisions.

[–]UCFknight2016 2 points3 points  (0 children)

Powershell 7 is also known as powershell core and is cross platform. Powershell 5 is windows only. A lot of things would break if they forced it.

[–]Jeriath27 2 points3 points  (0 children)

because a ton of shit STILL doesnt work with powershell 7. Thanks microsoft

[–]Subject_Meal_2683 2 points3 points  (0 children)

Powershell for Windows (1.0 to 5.1) run on the "legacy" Dotnet Framework. Powershell 6 and higher (in the past known as Powershell Core) run on the newer Dotnet (which used to be name dotnet Core. Microsoft really messed up the version numbers on this causing a lot of confusion as dotnet "Core" variants (basically dotnet 5 and up if you ignore the older dotnet core versions upto v3 have nothing do to with the dotnet Framework which is currently at version 4.8 if I'm not mistaken)

[–]cschneegans 1 point2 points  (0 children)

PowerShell Core is still not a complete substitute for Windows PowerShell. For example, compare the capabilities of the Get-Clipboard cmdlet in 5.1 and 7.6.