Why it matters
Windows administrators relying on PowerShell 5.1 should plan for it to become a Feature On Demand after Windows Server 2025 and Windows 11 26H2, and test scripts against PowerShell 7.
Primary source
PowerShell 7 is coming to Windows PowerShell Blog
What we know
Where sources disagree
Script compatibility between PowerShell 5.1 and 7
- Existing automation needs no changes because PowerShell 7 runs side by side with 5.1. — PowerShell Blog
- Compatibility between PowerShell 5.1 and PowerShell 7 is not seamless. — The Register
Confirmed by several sources
- PowerShell 7 will be included with Windows as the successor to Windows PowerShell 5.1. — The Register, PowerShell Blog
- PowerShell 7 is the cross-platform, open-source successor to PowerShell 5.1. — The Register, PowerShell Blog
Reported by one source
- Windows Server 2025 and Windows 11 26H2 are the last versions to include PowerShell 5.1 enabled by default, after which it becomes a Feature On Demand. — The Register
- PowerShell 5.1 will be removed from a future version of Windows. — The Register
- Details are documented by the Windows team in KB5137172. — PowerShell Blog
- PowerShell 7 will ship beginning with the next release of Windows. — PowerShell Blog
- PowerShell 5.1 is more than ten years old and runs on the .NET Framework. — The Register
Open questions
- It is not yet clear in which Windows version PowerShell 5.1 will be fully removed. — The Register
Coverage 2 publishers
PowerShell BlogFirst reportPrimary source
PowerShell 7 is coming to Windows
PowerShell 7 is coming to Windows. Beginning with the next release of Windows, PowerShell 7 will be included as the upgrade for Windows PowerShell 5.1. The Windows team has published the details in KB5137172. Here is what this means for…
-
PowerShell 7 heading into Windows as 5.1 hits the end of the road
Microsoft has confirmed that, at long last, PowerShell 7 will come bundled with Windows, while the venerable PowerShell 5.1 begins its long retirement. It has been a long time coming, although PowerShell 5.1 isn't going away immediately. It…
Earliest report first. Articles stay on their publishers’ sites; each link opens the original.
