Enable-TransportAgent (RTM)

 

適用版本: Exchange Server 2007

上次修改主題的時間: 2007-06-11

使用 Enable-TransportAgent 指令程式可在 Microsoft Exchange Server 2007 組織中已安裝 Edge Transport server role 或 Hub Transport server role 的電腦上啟用傳輸代理程式。

語法

Enable-TransportAgent -Identity <String> [-DomainController <Fqdn>]

詳細描述

Enable-TransportAgent 指令程式可以用來在 Edge Transport Server 或 Hub Transport Server 上啟用傳輸代理程式。

若要執行 Enable-TransportAgent 指令程式,必須對您使用的帳戶委派下列項目:

  • Exchange Server 系統管理員角色和目標伺服器的本機 Administrators 群組

若要在已安裝 Edge Transport server role 的電腦上執行 Enable-TransportAgent 指令程式,您必須使用該電腦之本機 Administrators 群組成員的帳戶進行登入。

如需管理 Exchange Server 2007 所需之權限、委派角色及權利的相關資訊,請參閱權限考量

參數

參數 必要 類型 描述

Identity

必要

System.String

此參數指定要啟用之傳輸代理程式的顯示名稱。名稱的長度不可超過 64 個字元。

DomainController

選用

Microsoft.Exchange.Data.Fqdn

若要指定將此組態變更寫入至 Active Directory 目錄服務之網域控制站的網域全名 (FQDN),請在命令中加入 DomainController 參數。執行 Edge Transport server role 的電腦不支援 DomainController 參數。Edge Transport server role 只會讀取和寫入至本機 ADAM 執行個體。

輸入類型

傳回類型

錯誤

錯誤 描述

 

例外狀況

例外狀況 描述

 

範例

下列範例顯示如何在 Edge Transport Server 或 Hub Transport Server 上啟用虛構的防毒應用程式。

Enable-TransportAgent -Identity "Antivirus for Exchange"