PowerShell 7 heading into Windows as 5.1 hits the end of the road
Next OS release will bundle modern successor, giving admins a compatibility checklist to work through
Microsoft has announced that PowerShell 7 will be included in future versions of Windows, while the long-standing PowerShell 5.1 begins its retirement process. The announcement comes after years of development and collaboration between Microsoft and the open-source community. PowerShell 5.1, which has been a staple of Windows for over a decade, will not disappear immediately but will instead be removed from upcoming Windows and Windows Server versions.
It will, however, be made available as a Feature On Demand (FOD) before its eventual sunset. PowerShell 7, on the other hand, will take over as the primary automation tool for Windows users. Despite its compatibility with PowerShell 5.1, there are still some lingering issues that administrators will need to address. These include compatibility with scheduled tasks, services, and management scripts, as well as the MSIX packaging of the bundled version.
Microsoft has acknowledged these challenges and is working to ensure a smooth transition for users. However, the process of checking which scripts will run unchanged, which will need updates, and which still depend on PowerShell 5.1 is not automated. Microsoft has stated that PowerShell 5.1 will continue to receive updates based on the lifecycle of the Windows version on which it runs.
It is unclear at this time when PowerShell 7 will be included in a Windows release, but it is expected to be part of the next one.
Written by urgent.news from The Register Science's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.
This story
This is one outlet's version. Read the fullest account.