Microsoft to begin shipping PowerShell 7 with Windows
The modern version of the command shell will appear in the next release of the operating system, but the previous PowerShell 5.1 will continue to function.

Microsoft has decided to include PowerShell 7 in Windows by default. Previously, users had to install this version of the command shell themselves, as the system shipped with the older Windows PowerShell 5.1.
PowerShell 5.1 is built on .NET Framework and has not received new features for over ten years. In contrast, PowerShell 7 is a modern cross-platform framework that Microsoft continues to actively develop.
However, the transition will not lead to the discontinuation of the previous version. Both shells will operate in parallel: existing scripts, services, and automation tasks that depend on PowerShell 5.1 will continue to function without changes. Users will be able to switch to the new version at their convenience.
Compatibility issues remain one of the obstacles. PowerShell 7 is planned to be distributed in MSIX format, which currently has some limitations compared to the traditional MSI installer. Microsoft is working to resolve these issues, and progress can be tracked on GitHub.
The new shell will appear in the next release of Windows, though the company has not yet specified the exact version of the system. In September, Microsoft also recommended that users abandon PowerShell 5.x when working with Graph modules and switch to the more modern version.



