Export (0) Print
Expand All

Get-AutodiscoverVirtualDirectory

Applies to: Exchange Server 2010

Topic Last Modified: 2011-03-19

Use the Get-AutodiscoverVirtualDirectory cmdlet to retrieve the settings for the Autodiscover virtual directory on a computer running Microsoft Exchange Server 2010 that has the Client Access server role installed.


Get-AutodiscoverVirtualDirectory [-Identity <VirtualDirectoryIdParameter>] [-DomainController <Fqdn>]


Get-AutodiscoverVirtualDirectory -Server <ServerIdParameter> [-DomainController <Fqdn>]

Parameter Required Type Description

Server

Required

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

The Server parameter specifies the name or GUID of the Client Access server that hosts the virtual directories that you want to display.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

The DomainController parameter specifies the fully qualified domain name (FQDN) of the domain controller that retrieves data from Active Directory.

Identity

Optional

Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter

The Identity parameter specifies the virtual directory and Web site for the Autodiscover virtual directory.

You can run the Get-AutodiscoverVirtualDirectory cmdlet on a local server or run it remotely if the server name is specified in the Identity or Server parameters. You can also run this cmdlet without parameters to retrieve the configuration settings from all Autodiscover virtual directories on all Internet Information Services (IIS) Web sites located on the Client Access servers in the organization.

You need to be assigned permissions before you can run this cmdlet. Although all parameters for this cmdlet are listed in this topic, you may not have access to some parameters if they're not included in the permissions assigned to you. To see what permissions you need, see the "Autodiscover service virtual directory settings" entry in the Client Access Permissions topic.

Error Description

 

 

Exceptions Description

 

 

This example returns settings for the Autodiscover virtual directory under the default Web site in IIS on the Client Access server CAS01 for the autodiscover.contoso.com site.

Get-AutodiscoverVirtualDirectory -Identity "CAS01\autodiscover(autodiscover.contoso.com)"

This example returns settings for the Autodiscover virtual directory located on the Client Access server CAS01 by querying Active Directory using the domain controller specified.

Get-AutodiscoverVirtualDirectory -DomainController Exch1 -Server CAS01
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft