Red Hot Cyber

Cybersecurity is about sharing. Recognize the risk, combat it, share your experiences, and encourage others to do better than you.
Search
Red Hot Cyber Academy

RIP Microsoft PowerShell 2.0! The end of an era is coming between August and September

Redazione RHC : 18 August 2025 08:18

Microsoft will remove PowerShell 2.0 from Windows starting in August, years after announcing its deprecation and keeping it as an optional feature. The 14-year-old command processor introduced with Windows 7 has already been removed for Windows Insiders starting in July 2025 with the release of Windows 11 Insider Preview Build 27891 on the Canary Channel.

As explained in a support document published Monday, Microsoft will permanently remove PowerShell 2.0 from Windows 11 version 24H2 starting in August and from Windows Server 2025 starting in September. “For most users and organizations, this change will not pose any significant disruption: newer versions of PowerShell, such as PowerShell 5.1 and PowerShell 7.x, will continue to be available and supported. However, if you have legacy scripts or software that explicitly depend on PowerShell 2.0, you will need to take action and update them or use a workaround to avoid disruption,” Microsoft said.

According to Microsoft, this initiative is part of a broader effort to remove legacy code, reduce system complexity, and improve Windows security. Microsoft customers using legacy applications, including older Microsoft server products like Exchange, SharePoint, and SQL Server, that rely on PowerShell 2.0 scripting, will be directly impacted by this change.

Although legacy scripts attempting to launch PowerShell 2.0 automatically use PowerShell 5.1, which is backwards compatible for most commands and modules, users of such tools are advised to update their systems to avoid disruption.

The company added that customers should migrate their scripts and tools to PowerShell 5.1 or PowerShell 7 and replace outdated software that cannot function without PowerShell 2.0 support, as some older third-party installers may not work on newer versions of Windows when attempting to enable PowerShell. 2.0 during installation.

“By using the latest, supported versions of PowerShell 7 or PowerShell 5.1, you can ensure that your scripts run more securely,” Microsoft added in a new Message Center post.

Redazione
The editorial team of Red Hot Cyber consists of a group of individuals and anonymous sources who actively collaborate to provide early information and news on cybersecurity and computing in general.

Lista degli articoli