通过


Windows PowerShell 更新消息常见问题解答

开始Windows PowerShell 时,会看到一条消息,指示安装最新版本的 PowerShell 以及 URL。

更新通知消息

本文介绍此消息的意图,并提供常见问题的解答。

为什么我看到此消息?

Windows PowerShell 在启动时显示此消息,让你知道有较新版本的 PowerShell 可用。

我打开了 URL,但未安装更新。 如何安装 PowerShell 7?

Windows PowerShell 控制台中显示的 aka.ms 链接将转到此页面。 若要安装最新版本的 PowerShell 7,请按照 Windows 上安装 PowerShell 文章中的说明进行操作。

但我安装了 PowerShell 7,为什么我仍然看到此消息?

因为你运行了 Windows PowerShell 而不是 PowerShell 7。 PowerShell 7 和 Windows PowerShell 5.1 是单独的产品。 PowerShell 7 不会替换 Windows PowerShell 5.1。 PowerShell 7 并行安装。 可以运行任一版本。

如何运行 PowerShell 7?

请参阅 在 Windows 上安装 PowerShell 文章中的 启动 PowerShell 7 部分以获取说明。

为何要安装 PowerShell 7?

PowerShell 7 更快、更安全,适用于 Windows、Linux 和 macOS。 PowerShell 7 正在积极开发和维护。 Windows PowerShell 5.1 不再开发。 有关详细信息,请参阅 Windows PowerShell 5.1 和 PowerShell 7 之间的差异。

是否需要安装 PowerShell 7?

否,除非对 PowerShell 7 提供的功能有特定要求,否则无需安装 PowerShell 7。

我的Windows安装已更新到最新版本。 为什么我仍然收到此消息?

每次开始Windows PowerShell 5.1 时,都会显示此消息。 这并不意味着 Windows PowerShell 5.1 不是最新版本。

Windows PowerShell 5.1 如何更新?

Microsoft仅发布 Windows PowerShell 5.1 的安全更新。 请务必了解,Windows PowerShell 5.1 不再开发。 Windows PowerShell 5.1 是Windows的内置组件。 所有更新都通过标准Windows更新通道进行管理。

是否可以禁用该消息?

否。 无法禁用该消息通知。