Microsoft has announced that the next version of Windows will be the first to ship with PowerShell 7 as an in-box feature, replacing PowerShell 5.1 that ships on Windows 11 today. Version 26H2 will be the last version of Windows to ship with PowerShell 5.1 by default.
Jason Helmick, a senior product manager at Microsoft has explained the transition and what it means for PowerShell users:
"For years, PowerShell has lived in two places. Windows PowerShell 5.1 is the one in the box, and it has carried a great deal of the world’s automation: the scheduled tasks, services, and admin scripts that have run quietly for years. PowerShell 7 is the modern PowerShell: the one we develop in the open, across platforms, and where new features go."
PowerShell 7 is able to work side by side with PowerShell 5.1, meaning there isn't anything that will immediately break once PowerShell 7 begins shipping in Windows, at least for now. PowerShell 5.1 will still be included in the next version of Windows, but an undisclosed "future" version of the OS will eventually remove it, though it will still be installable as an optional feature on demand.
1 users begin looking at transitioning to PowerShell 7, ensuring scripts, tasks, installers, and more are compatible with the new version. 1 is installed on future systems.
Source link







