PowerShell is the command-line tool that comes with Windows. It handles in one line of commands the kind of work you would otherwise click through with a mouse, and Microsoft has announced that it is changing which version ships by default, starting with the Windows release after Windows 11 26H2. The new version is PowerShell 7; the version that ships today is Windows PowerShell 5.1.

Source: PowerShell 7 is coming to Windows (Microsoft PowerShell team blog, 2026-11-17) · Windows PowerShell 5.1 Deprecation (Microsoft Support, KB5137172)

1. What changed

Starting with the Windows release after Windows 11 26H2, PowerShell 7 is included in Windows. Microsoft calls PowerShell 7 the successor to Windows PowerShell 5.1.

Version 5.1 became a deprecated feature in 2026. Development of new features has stopped, but it stays included in Windows and support continues. It also keeps receiving security updates in line with the Windows version you run.

The phase-out schedule is set out like this.

  • Windows 11 version 26H2 and Windows Server 2025 are the last versions that include 5.1 switched on by default.
  • In the Windows release after that, 5.1 is offered as an optional feature (a Feature on Demand), and on a fresh Windows install it still comes switched on by default.
  • In a later Windows release, 5.1 is not included at all. When that happens has not been decided yet. Microsoft says it will watch usage data, pick the timing, and announce it in advance.

2. What regular users need to do

Nothing changes on the Windows you are running now. Version 5.1 keeps working, and the commands and scripts you already use run as they did. Microsoft itself said there is “nothing to change right now.” Even when the Windows release after 26H2 arrives, 5.1 comes along as an optional feature switched on by default, so there is nothing you need to install or remove right away.

The name in the Start menu has already started changing. “Windows PowerShell” is now shown as “Windows PowerShell 5.1.” This applies to Windows 11 with the October 2026 preview update and the November security update applied. Only the name changes; the features stay the same. If an old shortcut name is still there, that does not mean the update failed, so there is no need to worry about it.

3. The differences between 5.1 and 7

The two versions can be installed side by side and used together. Even the executable names differ.

  • Running powershell.exe opens Windows PowerShell 5.1.
  • Running pwsh.exe opens PowerShell 7.

There is also a command that shows which version you are running. Type $PSVersionTable.PSEdition in a PowerShell window. If it says Desktop, you are on 5.1; if it says Core, you are on version 7 or later. Checking it, I found the 5.1 on the Windows I use is 5.1.26100.9818, and the 7 I installed myself is 7.7.0.

The result of running the version check command in a Windows PowerShell 5.1 window: PSVersion 5.1.26100.9818 and PSEdition Desktop
The result of running the same command in a PowerShell 7.7.0 window: PSVersion 7.7.0 and PSEdition Core

Version 7 is the one still in active development. New features go only into 7. Version 5.1 receives security updates only, with no new features. Three things still need finishing before 7 can ship inside Windows, though: running as the SYSTEM account, support for DISM commands such as Add-WindowsCapability, and machine-wide settings such as all-user profiles. Microsoft says it is working on filling in those three.

4. Script users: test in 7 first

Most scripts run in 7 as they are. Some need changes, and some run only in 5.1. Microsoft recommends running your scripts in 7 yourself before moving, so you know which kind yours are. New automation is better written for 7. Microsoft has published documents that set out the differences and how to migrate.

Archmond’s take

For an announcement about a default tool that ships with Windows changing, this one is quiet. That is because 5.1 does not disappear right away: it still comes switched on by default in the release after 26H2, and only drops out later than that.


Source: PowerShell 7 is coming to Windows — Microsoft PowerShell team blog (2026-11-17) · Windows PowerShell 5.1 Deprecation — Microsoft Support (KB5137172, 2026-11-17) · Windows PowerShell shortcut names are being updated to include version 5.1 — Microsoft Support (KB5134574, 2026-11-03)