Share via


Set-AutodiscoverVirtualDirectory (RTM)

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.

 

Applies to: Exchange Server 2007

The Set-AutoDiscoverVirtualDirectory cmdlet configures settings on the Autodiscover virtual directory on a computer that is running Microsoft Exchange Server 2007 that has the Client Access server role installed. You can run this cmdlet on the local Client Access server or from another Exchange 2007 server.

Syntax

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

Detailed Description

The Set-AutoDiscoverVirtualDirectory cmdlet configures settings on the Autodiscover virtual directory on an Exchange 2007 Client Access server. You can run this cmdlet on the local Client Access server or from another Exchange 2007 server.

To run the Set-AutoDiscoverVirtualDirectory 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.

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter

This parameter specifies the name of the virtual directory and the Web site. This parameter can also be used to specify the Client Access server if it is being run from another Exchange 2007 server.

BasicAuthentication

Optional

System.Boolean

This parameter is used to configure Basic authentication on the Autodiscover virtual directory.

DigestAuthentication

Optional

System.Boolean

This parameter is used to configure Digest authentication on the Autodiscover virtual directory.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

To specify the fully qualified domain name (FQDN) of the domain controller that writes this configuration change to the Active Directory directory service, include the DomainController parameter on the cmdlet.

ExternalUrl

Optional

System.Uri

This parameter specifies the URL that is used to connect to the virtual directory from outside the network firewall.

Instance

Optional

Microsoft.Exchange.Data.Directory.SystemConfiguration.ADAutodiscoverVirtualDirectory

This parameter specifies the object input parameter. It is required if the Identity parameter is not used

InternalUrl

Optional

System.Uri

This parameter specifies the URL that is used to connect to the virtual directory from inside the network firewall.

WindowsAuthentication

Optional

System.Boolean

This parameter is used to configure Integrated Windows authentication on the Autodiscover virtual directory.

Input Types

Return Types

Errors

Error Description

 

 

Exceptions

Exceptions Description

 

 

Example

The following code example sets the authentication method to Digest authentication for the Autodiscover virtual directory.

Set-AutoDiscoverVirtualDirectory -Identity autodiscover(default web site) -WindowsAuthentication $false -BasicAuthentication $false -DigestAuthentication $true