Technology news and discussion on TalkFuse.
Microsoft to bundle PowerShell 7 with a future Windows release
Microsoft plans to bundle PowerShell 7 with the next Windows release, marking a shift away from PowerShell 5.1, which has been included by default for more than a decade. The change matters to administrators because scripts and management tools may not work identically across the two versions, so organisations will need to check compatibility before moving automation workloads.
Windows Server 2025 and Windows 11 26H2 are the last releases to include PowerShell 5.1 enabled by default. It will later be offered as a Feature on Demand, then removed from a future Windows version; Microsoft says the timing will depend on usage data and be announced in advance. PowerShell 7 can run alongside 5.1, and the older version will continue receiving updates under the lifecycle of its Windows release, but Microsoft still has packaging work to complete for the bundled version, including support for SYSTEM accounts and machine-wide settings.
In short
- PowerShell 7 is due to arrive with the next Windows release.
- Windows 11 26H2 is the last version with 5.1 enabled by default.
- Administrators will need to check scripts and management tools for compatibility.
Steelman: both sides, in good faith
The strongest fair case each way — we don't pick a winner.
The case for
Bundling PowerShell 7 could give administrators a more current, consistently available tool and make it easier for Microsoft to maintain a modern scripting environment across Windows releases. A gradual transition, with PowerShell 5.1 initially remaining available and organisations given advance notice, may offer time to test scripts and update management tools.
The case against
Changing the default risks disrupting established scripts and management tools, especially in organisations that rely on PowerShell 5.1’s existing behaviour or have limited capacity to test and adapt automation. Even with advance notice and the older version available for a time, the transition could add support and compatibility work, while unfinished packaging details make readiness a concern.
Explained simply
PowerShell is a command-line tool used to manage Windows computers and run scripts, which can automate routine tasks. System administrators and organisations often rely on those scripts to manage devices and services.
PowerShell 5.1 has been included with Windows for more than a decade, while PowerShell 7 is a newer version that can run alongside it. The two versions may handle some scripts and management tools differently, so organisations need to check their automation works as expected when moving between them.
The change matters because Windows is widely used in workplaces, where automated tasks can support day-to-day operations. Microsoft says PowerShell 5.1 will remain available for a time and continue to receive updates tied to its Windows release.
Read the full article at the source →
Originally published by The Register as “PowerShell 7 heading into Windows as 5.1 hits the end of the road”.