The Black Cloud

PowerShell - Windows PowerShell 5.x is entering a 12-month retirement period for the Microsoft Graph PowerShell modules

I never thought I will live long enough to see Microsoft slowly but surely moving away from Windows PowerShell (5.x) and transition to PowerShell 7.x 😊

And yet it appears we are now entering a period where Windows PowerShell 5.x will be gradually retired in favour of PowerShell 7.x.

The Windows vNEXT already teased that they are working on making PowerShell 7.x the default version for future releases.

As described in this Reddit discussion, It seems that PowerShell 7 will ship with Windows Server vNext

The official video where Microsoft discusses this transition can be found below.

I found out about the Microsoft Graph PowerShell 5.x module retirement from Merill, so giving credit where it is due 😊

Windows PowerShell 5.x is entering a 12-month retirement period for the Microsoft Graph PowerShell modules

It makes sense then gradually important modules will need to moved/migrated to PowerShell 7.x. and Microsoft Graph is just one of many; I hope 🤣

It is certainly a move in the right direction as PowerShell 7.x has been around for a long time, and yet we still do not have feature parity in so many places 😊 Hopefully, it will get addressed eventually 😊

Official Announcement

Investing in a more reliable Microsoft Graph PowerShell experience

(…) today we’re announcing that Windows PowerShell 5.x is entering a 12-month retirement period for the Microsoft Graph PowerShell modules.

Over this period, we’ll wind down maintenance on 5.x and direct new investment, development, and validation to PowerShell 7.x and later.

The v2.x modules will keep working on Windows PowerShell 5.1 throughout — this is a planned transition, not a switch we’re flipping today.

Timeline

  • Now through the next ~12 months (retirement period). The v2.x modules remain compatible with Windows PowerShell 5.1 and will receive security fixes as required. Maintenance for PowerShell 5.x compatibility winds down, while active development, validation, and investment move to PowerShell 7.x and later — giving you time to plan and complete your migration without disruption.

  • In Q4 CY 2026 a new major version of Microsoft Graph PowerShell will be released. With the release of v3.0.0 no new versions of v2 will be published unless security fixes are required. V3.x modules will not have explicit support for Windows PowerShell 5.x and are only supported for PowerShell 7.x.

<< Previous Post

|

Next Post >>

#Blog #PowerShell #Windows PowerShell #PowerShell 5.x #PowerShell 7.x