如何升级 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。不要忘记关注我们并分享这篇文章。