共用方式為


Set-UMVirtualDirectory (RTM)

 

適用版本: Exchange Server 2007

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

Set-UMVirtualDirectory 指令程式可讓您修改已安裝 Client Access server role 之 Exchange 2007 電腦上的現有 Exchange 整合通訊虛擬目錄。

語法

Set-UMVirtualDirectory -Identity <VirtualDirectoryIdParameter> [-BasicAuthentication <$true | $false>] [-DigestAuthentication <$true | $false>] [-DomainController <Fqdn>] [-ExternalUrl <Uri>] [-InternalUrl <Uri>] [-WindowsAuthentication <$true | $false>]

Set-UMVirtualDirectory [-BasicAuthentication <$true | $false>] [-DigestAuthentication <$true | $false>] [-DomainController <Fqdn>] [-ExternalUrl <Uri>] [-Instance <ADUMVirtualDirectory>] [-InternalUrl <Uri>] [-WindowsAuthentication <$true | $false>]

詳細描述

Set-UMVirtualDirectory 指令程式可讓您修改 Exchange 2007 Client Access Server 上的現有 Exchange Web 服務虛擬目錄。

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

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

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

參數

參數 必要 類型 描述

Identity

必要

Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter

使用此參數可指定虛擬目錄的名稱。您也可以指定萬用字元來代替預設網站。

BasicAuthentication

選用

System.Boolean

使用此參數可指定是否要在 Exchange Web 服務虛擬目錄上啟用基本驗證。此參數可與 FormsAuthentication 或與 DigestAuthenticationWindowsAuthentication 搭配使用。

DigestAuthentication

選用

System.Boolean

使用此參數可指定是否要在虛擬目錄上啟用摘要認證。

DomainController

選用

Microsoft.Exchange.Data.Fqdn

使用此參數指定從 Active Directory 目錄服務擷取資料的網域控制站之網域全名 (FQDN)。在指令程式中加入 DomainController 參數。

ExternalUrl

選用

System.Uri

使用此參數可指定要從防火牆外連接至 Client Access Server 時所用的主機名稱。此設定在使用安全通訊端層 (SSL) 時也很重要。

Instance

選用

Microsoft.Exchange.Data.Directory.SystemConfiguration.ADUMVirtualDirectory

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

InternalUrl

選用

System.Uri

使用此參數可指定要從防火牆內連線之 Client Access Server 的主機名稱。此設定在使用 SSL 時也很重要。

WindowsAuthentication

選用

System.Boolean

使用此參數可指定整合通訊虛擬目錄上是否允許整合式 Windows 驗證。

輸入類型

傳回類型

錯誤

錯誤 描述

 

 

例外狀況

例外狀況 描述

 

 

範例

第一個程式碼範例會將 UMserver1 伺服器上 UnifiedMessaging 虛擬目錄的驗證方法設為摘要驗證。此程式碼範例也會設定此虛擬目錄的外部和內部 URL。

第二個程式碼範例會使用萬用字元來代替「預設網站」。

Set-UMVirtualDirectory -Identity UMServer1\UnifiedMessaging -ExternalUrl https://www.contoso.com/UnifiedMessaging/service.asmx -ExternalAuthenticationMethods Digest -InternalUrl https://contoso.internal.com/UnifiedMessaging/service.asmx
Set-UMVirtualDirectory -Identity UMServer1\UnifiedMessaging* -ExternalUrl https://www.contoso.com/UnifiedMessaging/service.asmx

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