Enable-OutlookAnywhere

 

適用版本: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1

上次修改主題的時間: 2008-04-04

Enable-OutlookAnywhere 指令程式會啟用執行 Microsoft Exchange Server 2007 並安裝 Client Access server role 的電腦,以用於 Outlook 無所不在。執行此指令程式時,會使用 Outlook 無所不在 (也稱為 RPC over HTTP) 並透過網際網路,讓伺服器接受來自 Microsoft Office Outlook 2007 及 Outlook 2003 用戶端電腦的要求。

語法

Enable-OutlookAnywhere -DefaultAuthenticationMethod <Basic | Digest | Ntlm | Fba | WindowsIntegrated | Misconfigured> -ExternalHostname <Hostname> -SSLOffloading <$true | $false> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-Server <ServerIdParameter>] [-TemplateInstance <PSObject>] [-WhatIf [<SwitchParameter>]]

Enable-OutlookAnywhere -ClientAuthenticationMethod <Basic | Digest | Ntlm | Fba | WindowsIntegrated | Misconfigured> -ExternalHostname <Hostname> -SSLOffloading <$true | $false> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-IISAuthenticationMethods <MultiValuedProperty>] [-Server <ServerIdParameter>] [-TemplateInstance <PSObject>] [-WhatIf [<SwitchParameter>]]

詳細描述

Enable-OutlookAnywhere 指令程式會啟用 Exchange 2007 Client Access Server 以用於 Outlook 無所不在。這可讓伺服器使用 Outlook 無所不在並透過網際網路接受 Outlook 2007 及 Outlook 2003 用戶端的要求。

important重要事項:
只有在已安裝 RPC over HTTP Proxy Windows 網路元件時,才可以順利執行此指令程式。
note附註:
執行此指令程式時,根據複寫 Active Directory 所需的時間長度,可能需要一個小時才能讓設定生效。

若要執行 Enable-OutlookAnywhere 指令程式,必須對您使用的帳戶委派 Exchange Server 系統管理員角色及目標伺服器本機 Administrators 群組的成員資格。

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

參數

參數 必要 類型 描述

ClientAuthenticationMethod

必要

Microsoft.Exchange.Data.Directory.SystemConfiguration.AuthenticationMethod

此參數可指定自動探索服務會提供給 Outlook 無所不在用戶端,以向 Client Access Server 進行驗證的驗證方法。可將驗證方法設為基本或 NTLM。

note附註:
如果不使用 DefaultAuthenticationMethod 參數,就必須指定此參數。使用此參數而未指定 IISAuthenticationMethods 參數時,驗證方法會同時設定為 NTLM 和 Basic。

DefaultAuthenticationMethod

必要

Microsoft.Exchange.Data.Directory.SystemConfiguration.AuthenticationMethod

此參數可用來將 ClientAuthenticationMethod 參數和 IISAuthenticationMethods 參數兩者設定為相同的值。使用 DefaultAuthenticationMethod 參數來設定驗證值時,會強制在網際網路資訊服務 (IIS) 中的 /rpc 虛擬目錄上使用指定的驗證方法。您可以將驗證方法設定為 [基本] 或 [NTLM]。

note附註:
如果指定 DefaultAuthenticationMethod 參數,則不能使用 ClientAuthenticationMethodIISAuthenticationMethods 參數。

ExternalHostname

必要

Microsoft.Exchange.Data.Hostname

此參數指定的外部主機名稱適用於已啟用 Outlook 無所不在之使用者的 Outlook 設定檔。

SSLOffloading

必要

System.Boolean

此參數指定 Client Access Server 是否需要安全通訊端層 (SSL)。只有在 Client Access Server 之前執行 SSL 硬體解決方案時,才應該將此值設為 $true

Confirm

選用

System.Management.Automation.SwitchParameter

Confirm 參數會使得命令暫停處理,而且需要確認命令要進行的動作之後才會繼續處理。您不需要為 Confirm 參數指定任何值。

DomainController

選用

Microsoft.Exchange.Data.Fqdn

若要指定網域控制站的網域全名 (FQDN),請在指令程式上加入 DomainController 參數。

IISAuthenticationMethods

選用

Microsoft.Exchange.Data.MultiValuedProperty

此參數指定會在 IIS 中的 /rpc 虛擬目錄上啟用的驗證方法。當您使用此參數時,會停用所有其他的驗證方法。使用逗號隔開驗證方法的清單,就可將多個值指定給此參數。例如:NTLM, Basic。

Server

選用

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

此參數指定要啟用 Outlook 無所不在之 Client Access Server 的名稱。

TemplateInstance

選用

System.Management.Automation.PSObject

使用此參數提供現有物件時,指令程式會使用該物件組態,在本機或目標伺服器上建立物件的相同複本。

WhatIf

選用

System.Management.Automation.SwitchParameter

WhatIf 參數指示命令模擬它將對物件採取的動作。使用 WhatIf 參數,則不需要套用任何變更,就能檢視變更。您不需要為 WhatIf 參數指定任何值。

輸入類型

傳回類型

錯誤

錯誤 描述

 

 

例外狀況

例外狀況 描述

 

 

範例

此程式碼範例啟用名為 Server01 的伺服器以用於 Outlook 無所不在。外部主機名稱設為 mail.contoso.com。基本驗證會做為用戶端及 /rpc 虛擬目錄的唯一驗證方法。

Enable-OutlookAnywhere -Server:Server01 -ExternalHostname:mail.contoso.com -DefaultAuthenticationMethod:Basic

若要確保您目前閱讀的是最新資訊,並尋找其他的 Exchange Server 2007 說明文件,請造訪 Exchange Server 技術資源中心.