如何升級 Exchange Server 管理工具

Jacki

如果將 Exchange Server 升級到新版本,則還必須升級 Exchange Server 管理工具。如果您已刪除 Exchange Server 但仍安裝管理工具來管理對象,則同樣適用。您必須在安裝了管理工具的所有服務器和工作站上執行此步驟。在本文中,您將了解如何升級 Exchange Server 管理工具。

開始之前

如果組織中運行或未運行 Exchange Server,則步驟會略有不同。在選擇正確的升級方法之前,請先確定您的設置。本文中的步驟適用於每個 Exchange Server 版本。

要升級 Exchange Server 管理工具,請執行以下步驟:

  1. 登錄安裝了管理工具的服務器或工作站。
  2. 前往程序和功能
  3. 檢查哪些 Exchange Server 管理工具版本已安裝。
  1. 下載交換服務器與(ISO 文件)。
  2. Exchange 服務器 ISO 文件。
  1. 雙擊安裝的 Exchange Server 驅動器運行升級設置。如果這不起作用,請右鍵單擊已安裝的文件,將其打開,然後雙擊安裝程序文件。
  2. 安裝程序正在準備必要的資源。
  1. 點擊下一個
  1. 接受許可協議。
  2. 點擊下一個
  1. 點擊安裝
  1. 設置將經過 11 個步驟。
  1. 點擊結束
  1. 重新啟動Windows 服務器。
  2. 前往程序和功能
  3. 驗證是否安裝了新的 Exchange Server 管理工具版本。

就是這樣!

如果刪除了最後一個 Exchange 混合服務器,服務器或工作站上仍安裝有 Exchange Server 管理工具。這是因為您將通過該工具管理 Exchange Server 對象。

要升級未運行的 Exchange Server 的 Exchange Server 管理工具,請執行以下步驟:

  1. 登錄安裝了管理工具的服務器或工作站。
  2. 前往程序和功能
  3. 檢查哪些 Exchange Server 管理工具版本已安裝。
  1. 下載交換服務器與(ISO 文件)。
  2. Exchange 服務器 ISO 文件。
  1. 開始命令提示符作為管理員。
  2. 運行以下命令為 Exchange Server 準備 Active Directory。

筆記:如果在未準備 Active Directory 的情況下運行安裝程序來升級管理工具,則會出現錯誤。所以這一步是必不可少的。

E:Setup.exe /PrepareAD /IAcceptExchangeServerLicenseTerms_DiagnosticDataOFF

出現輸出。

Microsoft Exchange Server 2019 Cumulative Update 15 Unattended Setup

Copying Files...
File copy complete. Setup will now collect additional information needed for installation.

Performing Microsoft Exchange Server Prerequisite Check

    Prerequisite Analysis                                                                             COMPLETED

Configuring Microsoft Exchange Server

    Organization Preparation                                                                          COMPLETED

The Exchange Server setup operation completed successfully.

Exchange Setup preserved the required configurations during upgrade. More details can be found in Exchangesetup.log
located in <SystemDrive>:ExchangeSetupLogs folder. For more information, visit:
https://aka.ms/PreserveExchangeConfig2019.
  1. 雙擊安裝的 Exchange Server 驅動器運行升級設置。如果這不起作用,請右鍵單擊已安裝的文件,將其打開,然後雙擊安裝程序文件。
  2. 安裝程序正在準備必要的資源。
  1. 點擊下一個
  1. 接受許可協議。
  2. 點擊下一個
  1. 點擊安裝
  1. 設置將經過 11 個步驟。
  1. 點擊結束
  1. 重新啟動Windows 服務器。
  2. 前往程序和功能
  3. 驗證是否安裝了新的 Exchange Server 管理工具版本。
  1. 通過刪除不必要的 Exchange 對象來清理 Active Directory。

AD 清理可以通過運行清理ActiveDirectoryEMT.ps1管理工具附帶的腳本。該腳本會刪除系統郵箱、不必要的 Exchange 容器、域和配置分區上的 Exchange 安全組的權限以及 Exchange 安全組。您需要使用域管理員憑據運行此腳本。

筆記:您必須運行它,因為 /PrepareAD 重新創建了 CleanupActiveDirectoryEMT.ps1 刪除的一些對象。

在管理服務器上打開PowerShell並轉到該目錄。

cd $env:ExchangeInstallPathScripts

運行下面的命令。

.CleanupActiveDirectoryEMT.ps1

出現輸出。

閱讀更多:2025 年生產力和時間管理的頂級人工智能工具

Removing system mailboxes
Removing un-nesessary Exchange containers in Configuration partition
Removing permissions for Exchange Security Groups on DC=exoip,DC=local
Removing permissions for Exchange Security Groups on CN=AdminSDHolder,CN=System,DC=exoip,DC=local
Removing permissions for Exchange Security Groups on CN=Configuration,DC=exoip,DC=local
Removing permissions for Exchange Security Groups on CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=exoip,DC=local
Removing permissions for Exchange Security Groups on CN=EXOIP,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=exoip,DC=local
Removing permissions for Exchange Security Groups on CN=Recipient Policies,CN=EXOIP,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=exoip,DC=local
Removing permissions for Exchange Security Groups on CN=Microsoft Exchange Autodiscover,CN=Services,CN=Configuration,DC=exoip,DC=local
Removing permissions for Exchange Security Groups on CN=Sites,CN=Configuration,DC=exoip,DC=local
Removing Exchange Security Groups container
Removing Exchange System Objects container
Cleanup script completed successfully

就是這樣!

結論

您了解瞭如何升級 Exchange Server 管理工具。如果安裝累積更新或安全更新,Exchange Server 上的管理工具將自動升級。但是,如果您在其他服務器或工作站上安裝了管理工具,則也必須全部升級。

請記住使您的 Exchange Server 管理工具與每個累積更新 (CU) 和安全更新 (SU) 版本保持同步,以確保它們保持受支持且安全的狀態。

您喜歡這篇文章嗎?您可能還喜歡在 Exchange Online 中使用 DNSSEC 設置入站 SMTP DANE。不要忘記關注我們並分享這篇文章。