r/microsoft • • 6d ago

Windows Microsoft has announced that PowerShell 7 will replace PowerShell 5.1 as the default PowerShell experience on the next version of Windows.

https://www.windowscentral.com/microsoft/windows-11/the-next-version-of-windows-will-be-the-first-to-ship-with-powershell-7-microsoft-confirms-powershell-5-1-is-now-deprecated
148 Upvotes

22 comments sorted by

26

u/OwnNet5253 6d ago

Finally!

2

u/TheOCDGeek 2d ago

Been to busy forcing users to the new Outlook to get around to this.

14

u/TiMMay333 6d ago

It’s hilarious that it hasn’t already

3

u/shinitakunai 6d ago

For someone that still uses cmd above powershell, what am I missing or what will powershell 7 add that it could be useful for me?

2

u/Dry-Edge-1534 2d ago

If you start using powershell it is way more powerfull than command line.

But that initial push needs be ingrained. Which is difficult unless some guidance is there

1

u/shinitakunai 2d ago

But I mean in the sense of possibilities, what is an example of a very useful command in powershell that is impossible in cmd?

1

u/Ok_Maybe184 2d ago

If you haven’t used it at this point, I’m not sure it’s relevant for you.

https://www.powershellgallery.com

1

u/Dry-Edge-1534 2d ago

If you can differentiate between Bash and Python you could differentiate between Bash and Powershell.

You could possibly do same thing in Bash as that of python but it is not easy to maintain.

Powershell offers a object oriented mechanism in shell where you get what need without much of slicing and dicing

1

u/m365adminguide 6d ago

Not the right place but I want to learn powershell in advance any sources are appreciated but specifically looking to learn by building projects.

1

u/salanalani 4h ago

Can't we use PS7 now already? Maybe being a default is a convenient but what is the big deal?

1

u/GYN-k4H-Q3z-75B 6d ago

Fucking finally!

Now if they could bring Dynamics 365/Dataverse to a reasonable .NET level as well, it would make my day...

0

u/k_marts 6d ago

Goddamn finally.

ISE is going away too, right?

Right?

2

u/MLCarter1976 6d ago

Not trying to argue. Why is the ISE bad? I know some people who like to use it.

5

u/threedaysatsea 5d ago

Doesn’t support long paths, for one. Does not support PS 7. There’s a host of other issues. It works in a pinch if it’s all you’ve got available. VS Code the preferred alternative, much more capable.

1

u/OwnNet5253 2d ago

Must be, it doesn’t support pwsh 7 afaik. Although it’s useful to have on VMs, so I hope if they don’t plan to remove it, at least revamp it to be better and actually support pwsh7.

0

u/ReallySuperName 6d ago

Good, but what happens to cmdlets that are Windows specific/only? Like anything to do with the registry?

5

u/FatBook-Air 6d ago

Powershell 7 supports editing the registry.

2

u/OwnNet5253 6d ago

Cmd is still there, also they work on Pwsh too.

2

u/PDQ_Brockstar 5d ago

PS 5.1 will still be there in the next release, just not the default. They said it'll be removed in a future, undisclosed OS.