---
title: "微软从8月份开始删除Windows 11中的PowerShell 2.0 企业需要使用后续版本"
url: https://www.landian.news/archives/110214.html
date: 2025-08-14T12:17:10+08:00
modified: 2025-08-14T04:17:10+00:00
author: "山外的鸭子哥"
description: "#软件资讯 微软从 8 月开始陆续删除 Windows 11 24H2 和 Windows Server 2025 中的 PowerShell 2.0 版，该版本属于老旧版本存在安全问题。作为替代方案微软将默认采用 PowerShell 5.1 版，IT 管理员需要提前测试脚本验证兼容性，如果存在兼容错误则需要立即更新脚本。查看全文：https://ourl.co/110214"
categories: "软件资讯"
tags: "PowerShell, Windows 11, Windows 11 24H2, Windows Server 2025, 微软"
---

# 微软从8月份开始删除Windows 11中的PowerShell 2.0 企业需要使用后续版本

微软在 7 月 7 日发布的 Windows 11 Canary Build 27981 版中已经将过时且不安全的 PowerShell 2.0 删除，现在这项删除操作抵达 Windows 11 正式版。

据微软发布的支持公告，该公司从 8 月份开始陆续删除 Windows NT 新版本中的 PowerShell 2.0，其中 8 月份删除 Windows 11 24H2 版中的 PowerShell 2.0，9 月份删除 Windows Server 2025 中的 PowerShell 2.0。

此次删除并非之前的弃用，删除后将无法再开启和使用，删除后不会对大多数普通用户造成影响，但可能还有少部分企业使用 PowerShell 2.0，企业必须迁移到 PowerShell 5.1 或 PowerShell 7.x 等比较新版本的。

在支持公告中微软解释称新政策是为了删除历史遗留代码、降低系统复杂性以及提高 Windows NT 系统的整体安全性，以上受影响的版本后续更新也不会再包含 PowerShell 2.0 相关的代码。

![](https://img.lancdn.com/landian/2025/08/110214.avif)

**受影响的产品包括：**

任何使用 PowerShell 2.0 的应用程序和使用 PowerShell 2.0 的 Microsoft 旧版服务器产品，例如 Exchange、SharePoint 以及 SQL Server 等，这些软件的新版本不使用 PowerShell 2.0 因此不受影响。

**默认的替代方案：**

在删除 PowerShell 2.0 后微软默认采用 PowerShell 5.1 作为替代工具，该版本的大多数命令和模块都是向后兼容的，因此使用 PowerShell 5.1 应该不会造成大范围的中断。

然而部分企业使用的脚本确实依赖于 PowerShell 2.0 且不兼容后续版本，IT 管理员必须对这些脚本进行测试和验证，如果发现不兼容 PowerShell 5.1 则应该尽快更新，否则会影响企业后续工作流。

via [Microsoft Support](https://support.microsoft.com/en-us/topic/powershell-2-0-removal-from-windows-fe6d1edc-2ed2-4c33-b297-afe82a64200a)

---

Source: [微软从8月份开始删除Windows 11中的PowerShell 2.0 企业需要使用后续版本](https://www.landian.news/archives/110214.html)
