r/PowerShell • • Mar 04 '20

Announcing PowerShell 7.0 | PowerShell

https://devblogs.microsoft.com/powershell/announcing-powershell-7-0/?WT.mc_id=reddit-social-marouill
281 Upvotes

74 comments sorted by

View all comments

12

u/Pugway Mar 04 '20 edited Mar 04 '20

So for a Windows-only shop (primarily), is there any advantage to upgrading over PS 5.1? Won't happen until O365 support gets added anyway, I suppose.

EDIT: This is a good blog post that goes into more detail on the features in PS7 that may be of use: https://www.thomasmaurer.ch/2020/03/whats-new-in-powershell-7-check-it-out/

Still curious to see if there are any compatibility issues with older PS stuff. Sounds like they did a lot of work to bring 7 in line and finally surpassing 5.1

6

u/[deleted] Mar 04 '20

Pretty sure it has O365 support. I believe 6 did so 7 would with ease.

3

u/Pugway Mar 05 '20

I was going off this quote from the blog post

For those modules still incompatible, we’re working with a number of teams to add native PowerShell 7 support, including Microsoft Graph, Office 365, and more.

Which implies that it isn't supported. Maybe supported in 6 but not 7?

4

u/Vexxt Mar 05 '20

There are many different modules, some work, some dont.

AzureAD and Graph dont auth yet, but i think the teams module is fine for example.

6

u/blaughw Mar 05 '20

And thank god the modules are different. I don't need Sharepoint cmdlets in my Exchange session, or my Compliance Center session, or my MCO (Skype) session!