Science & Tech · Big Tech & Internet · 5 hrs ago
Microsoft plans to make PowerShell 7 the default in a future Windows version
Microsoft plans to make PowerShell 7 the default in a future Windows version.
PowerShell is a tool used to run commands and automate tasks, including system administration, on Windows.
Windows 11 currently includes PowerShell 5.1, and version 26H2 will be the last Windows version to ship with it by default.
Both versions will work side by side at first, and PowerShell 5.1 will still be included when PowerShell 7 becomes the default.
Some older scripts may need changes to work with PowerShell 7, while others may need to keep running on version 5.1.
Microsoft has deprecated PowerShell 5.1, so it will no longer receive new features or quality improvements, though security updates will continue for the foreseeable future.
The default change is scheduled for the end of 2027, and Microsoft recommends that users check their scripts and tasks for compatibility before then.
Microsoft says the next version of Windows will include PowerShell 7 by default, replacing PowerShell 5.1 as the default experience.
Version 26H2 will be the last Windows version to ship with PowerShell 5.1 by default.
The change is scheduled for the next version of Windows, currently expected at the end of 2027.
PowerShell 5.1 will remain included initially, and Microsoft says it will continue to receive security updates.
Microsoft advises users to check that their scripts and other tools work with PowerShell 7, as some may need changes.
- Who
- Microsoft announced the change. Jason Helmick, a senior product manager at Microsoft, explained the transition.
- What
- PowerShell 7 will become the default PowerShell experience in a future version of Windows, replacing PowerShell 5.1 as the default.
- When
- Microsoft announced the plan on November 17, 2026. The change is scheduled for the end of 2027.
- Where
- Windows.
- Why
- Microsoft describes PowerShell 7 as its modern, cross-platform version, where new features are developed.
This story does not have two clearly opposing sides.
Microsoft announced that a future version of Windows will ship with PowerShell 7 by default.
Microsoft says this will be the last version of Windows to ship with PowerShell 5.1 by default.
The next version of Windows, in which PowerShell 7 will replace 5.1 as the default experience, is scheduled for this time.
- PowerShell 7
- Planned default in the next version of Windows
- PowerShell 5.1
- Default in Windows 11 today
- Version 26H2
- Last Windows version planned to ship with PowerShell 5.1 by default
- Scheduled transition
- End of 2027
- PowerShell 5.1 status
- Deprecated; security updates will continue for the foreseeable future
3 sources
What people are saying
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.
Including PowerShell 7 in Windows is a milestone we’ve been working toward since PowerShell went cross-platform
Many scripts run in PowerShell 7 without changes. Some need changes before they work, and some may need to keep running in Windows PowerShell 5.1. That’s because Windows PowerShell 5.1 and PowerShell 7 differ in some places.