theregister.com·18 november 2026

PowerShell 7 heading into Windows as 5.1 hits the end of the road

Image for the article: PowerShell 7 heading into Windows as 5.1 hits the end of the road
Image via theregister.com

Microsoft has confirmed that PowerShell 7 will be bundled into a future Windows release as the aging PowerShell 5.1 begins its phased retirement. PowerShell 5.1 will remain enabled by default in Windows Server 2025 and Windows 11 26H2 before transitioning to a Feature On Demand. The cross-platform PowerShell 7 will then take over automation duties, though administrators face a checklist to resolve compatibility issues and MSIX packaging gaps. PowerShell 5.1 will continue receiving updates tied to its host Windows lifecycle until its eventual removal.