Windows PowerShell 更新訊息常見問題

當你啟動 Windows PowerShell 時,會看到一個訊息告訴你安裝最新版本的 PowerShell 以及一個網址。

更新通知訊息

本文說明此訊息的意圖,並提供常見問題解答。

為什麼我會看到這個訊息?

Windows PowerShell 在啟動時會顯示此訊息,提醒您已有較新版本的 PowerShell 可用。

我打開網址,但沒有安裝更新。 我該如何安裝 PowerShell 7?

Windows PowerShell 主控台中顯示的 aka.ms 連結會帶你到這個頁面。 要安裝最新版本的 PowerShell 7,請依照 Install PowerShell on Windows 文章中的說明操作。

但我安裝了 PowerShell 7,為什麼還會看到這個訊息?

因為你跑的是 Windows PowerShell,而不是 PowerShell 7。 PowerShell 7 和 Windows PowerShell 5.1 是獨立的產品。 PowerShell 7 並不會取代 Windows PowerShell 5.1。 PowerShell 7 是並排安裝的。 你可以執行任一版本。

我該如何執行 PowerShell 7?

相關說明請參見 Install PowerShell on Windows 文章中 Start PowerShell 7 章節。

為什麼我要安裝 PowerShell 7?

PowerShell 7 更快、更安全,並支援 Windows、Linux 和 macOS。 PowerShell 7 正在積極地開發與支援。 Windows PowerShell 5.1 已不再開發。 欲了解更多資訊,請參閱 Differences between Windows PowerShell 5.1 與 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 更新管道管理。

我可以關閉這個訊息嗎?

否。 沒有辦法關閉這個訊息。