Microsoft will ship PowerShell 7 in-box with the next Windows release, while Windows PowerShell 5.1 is deprecated under KB5137172 and demoted to a default-enabled Feature on Demand. Existing scripts keep running, but packaging parity gaps still need closing first.
Key points
- PowerShell 7 ships in-box with Windows Server 2028 and the next Windows 11 client release.
- Windows 11 26H2 and Windows Server 2025 are the final releases shipping 5.1 as standard.
- 5.1 becomes a default-enabled Feature on Demand, so scheduled tasks and services keep running.
- PowerShell 7.7 GA on November 10, 2026 runs on .NET 11; PowerShell 7.4 hit end of support that day.
- MSI installers are gone in 7.7; MSIX still lacks SYSTEM execution, DISM cmdlets and all-users profiles.
- Graph PowerShell SDK v3 is PowerShell 7-only, with 5.1 support retired over 12 months from September 2026.
Why it matters
For .NET teams the practical effect is smaller than the headline suggests. Because pwsh.exe and powershell.exe are separate executables, a build target or scheduled task that hardcodes powershell.exe keeps working, and quietly keeps you on 5.1. The migration is an inventory problem, not a rewrite.
Two checks are worth scheduling before the next Windows build lands: which modules your scripts actually depend on, because RSAT, SCOM and SharePoint Online follow their own product roadmaps and may not load cleanly in pwsh.exe; and whether you are prepared to standardize on 7.6 LTS rather than 7.7 STS while the packaging story settles. Pinning versions early is cheaper than discovering the difference on a production server.
Real-world use
- A scheduled task or Windows service running as NT AUTHORITY\SYSTEM that calls powershell.exe.
- A multi-user jump box or Server Core node where per-user MSIX installs complicate patching.
- A Microsoft 365 admin script built on Graph PowerShell SDK v3 that therefore needs pwsh.exe.
- An Active Directory login script written years ago that must survive the move to a Feature on Demand.
This summary was generated by the agent from the original post on Kunal Chowdhury. The full text and all rights belong to its author and publisher. Go to original