Set-OutlookAnywhere

 

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

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

Set-OutlookAnywhere 指令程式可於正在執行 Microsoft Exchange Server 2007、已安裝 Client Access server role 並已啟用 Outlook 無所不在的電腦上,用來修改內容。

語法

Set-OutlookAnywhere -Identity <VirtualDirectoryIdParameter> [-ClientAuthenticationMethod <Basic | Digest | Ntlm | Fba | WindowsIntegrated | Misconfigured>] [-Confirm [<SwitchParameter>]] [-DefaultAuthenticationMethod <Basic | Digest | Ntlm | Fba | WindowsIntegrated | Misconfigured>] [-DomainController <Fqdn>] [-ExternalHostname <Hostname>] [-IISAuthenticationMethods <MultiValuedProperty>] [-Name <String>] [-SSLOffloading <$true | $false>] [-WhatIf [<SwitchParameter>]]

Set-OutlookAnywhere [-ClientAuthenticationMethod <Basic | Digest | Ntlm | Fba | WindowsIntegrated | Misconfigured>] [-Confirm [<SwitchParameter>]] [-DefaultAuthenticationMethod <Basic | Digest | Ntlm | Fba | WindowsIntegrated | Misconfigured>] [-DomainController <Fqdn>] [-ExternalHostname <Hostname>] [-IISAuthenticationMethods <MultiValuedProperty>] [-Instance <ADRpcHttpVirtualDirectory>] [-Name <String>] [-SSLOffloading <$true | $false>] [-WhatIf [<SwitchParameter>]]

詳細描述

Set-OutlookAnywhere 指令程式可於已啟用 Outlook 無所不在的 Exchange 2007 Client Access Server 上,用來修改內容。

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

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

參數

參數 必要 類型 描述

Confirm

選用

System.Management.Automation.SwitchParameter

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

DomainController

選用

Microsoft.Exchange.Data.Fqdn

若要指定從 Active Directory 目錄服務擷取資料之網域控制站的網域全名,請在命令中加入 DomainController 參數。

ExternalHostname

選用

Microsoft.Exchange.Data.Hostname

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

Identity

必要

Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter

此參數指定虛擬目錄的名稱或 GUID。其表示方式為:ServerName\VirtualDirectoryName (WebsiteName)。

ClientAuthenticationMethod

選用

Microsoft.Exchange.Data.Directory.SystemConfiguration.AuthenticationMethod

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

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

DefaultAuthenticationMethod

選用

Microsoft.Exchange.Data.Directory.SystemConfiguration.AuthenticationMethod

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

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

IISAuthenticationMethods

選用

Microsoft.Exchange.Data.MultiValuedProperty

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

Instance

選用

Microsoft.Exchange.Data.Directory.SystemConfiguration.ADRpcHttpVirtualDirectory

此參數可讓您將整個物件傳遞至要處理的命令。它主要是用於必須將整個物件傳遞至該命令的指令碼。

Name

選用

System.String

使用 Name 參數來指定使用者的名稱。

SSLOffloading

選用

System.Boolean

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

WhatIf

選用

System.Management.Automation.SwitchParameter

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

輸入類型

傳回類型

錯誤

錯誤 描述

 

 

例外狀況

例外狀況 描述

 

 

範例

此程式碼範例會將名稱為 CAS01 之 Client Access Server 的外部驗證方法設定為 NTLM。

Set-OutlookAnywhere -Identity:"CAS01\Rpc (Default Web Site)" -ClientAuthenticationMethod:NTLM