Applies to: Exchange Server 2007
Topic Last Modified: 2008-05-14

The Set-UMVirtualDirectory cmdlet lets you modify an existing Exchange Unified Messaging virtual directory on an Exchange 2007 computer that has the Client Access server role installed.

Syntax

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>]

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter

Use this parameter to specify the name of the virtual directory. You can also specify a wildcard character instead of the Default Web site.

BasicAuthentication

Optional

System.Boolean

Use this parameter to specify whether Basic authentication is enabled on the Exchange Web Services virtual directory. This parameter can be used with FormsAuthentication, or with DigestAuthentication and WindowsAuthentication.

DigestAuthentication

Optional

System.Boolean

Use this parameter to specify whether Digest authentication is enabled on the virtual directory.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

Use this parameter to specify the fully qualified domain name (FQDN) of the domain controller that retrieves data from the Active Directory directory service. Include the DomainController parameter in the cmdlet.

ExternalUrl

Optional

System.Uri

Use this parameter to specify the host name that will be used to connect to the Client Access server from outside the firewall. This setting is also important when Secure Sockets Layer (SSL) is used.

Instance

Optional

Microsoft.Exchange.Data.Directory.SystemConfiguration.ADUMVirtualDirectory

Use this parameter to pass a whole object to the cmdlet to be processed. It is mainly used in scripts where a whole object must be passed to the cmdlet.

InternalUrl

Optional

System.Uri

Use this parameter to specify the host name of the Client Access server for connections from inside the firewall. This setting is also important when SSL is used.

WindowsAuthentication

Optional

System.Boolean

Use this parameter to specify whether Integrated Windows authentication is permitted on the Unified Messaging virtual directory.

Detailed Description

The Set-UMVirtualDirectory cmdlet lets you modify an existing Exchange Web Services virtual directory on an Exchange 2007 Client Access server.

To run the Set-UMVirtualDirectory cmdlet, the account you use must be delegated the following:

  • Exchange Server Administrator role and local Administrators group for the target server

For more information about permissions, delegating roles, and the rights that are required to administer Exchange Server 2007, see Permission Considerations.

Input Types

Return Types

Errors

Error Description

 

 

Exceptions

Exceptions Description

 

 

Example

The first code example sets the authentication method to Digest authentication for the virtual directory named UnifiedMessaging on the server named UMserver1. This code example also sets the external and internal URLs for this virtual directory.

The second code example uses a wildcard character instead of "default Web site".

Copy Code
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