← Back to stories
Dev

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 will, however, " be removed from a future version of Windows," and Windows Server 2025 and Windows 11 26H2 are the last versions to include PowerShell 5.1 enabled by default.

After that, PowerShell 5.1 will be available as a Feature On Demand (FOD) before eventually shuffling off into the sunset, while PowerShell 7 takes over automation duties.

PowerShell 5.1 is now more than ten years old and runs on the.NET Framework. PowerShell 7 is its cross-platform, open source successor, but compatibility isn't seamless.

PowerShell was the brainchild of Jeffrey Snover, who sought to bring script automation to Windows at a time when graphical user interfaces were king. …

You're reading a preview. The full article is published by The Register on their website.

Read the full story on The Register