Applies to: Exchange Server 2013
Topic Last Modified: 2012-12-05
Use the Get-AutodiscoverVirtualDirectory cmdlet to retrieve the settings for the Autodiscover virtual directory on a computer running Microsoft Exchange Server 2013.
For information about the parameter sets in the Syntax section below, see Syntax.
Syntax
Get-AutodiscoverVirtualDirectory -Server
<ServerIdParameter> <COMMON PARAMETERS>
|
Get-AutodiscoverVirtualDirectory [-Identity
<VirtualDirectoryIdParameter>] <COMMON
PARAMETERS>
|
COMMON PARAMETERS: [-ADPropertiesOnly
<SwitchParameter>] [-DomainController <Fqdn>]
[-ShowBackEndVirtualDirectories <SwitchParameter>]
[-ShowMailboxVirtualDirectories <SwitchParameter>]
|
Examples
EXAMPLE 1
This example returns settings for the Autodiscover virtual directory under the default website in IIS on the Client Access server CAS01 for the autodiscover.contoso.com site.
Copy Code | |
---|---|
Get-AutodiscoverVirtualDirectory -Server CAS01 -Identity "CAS01\autodiscover(autodiscover.contoso.com)" |
EXAMPLE 2
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.
Copy Code | |
---|---|
Get-AutodiscoverVirtualDirectory -DomainController Exch1 -Server CAS01 |
Detailed Description
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) websites 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 virtual directory settings" entry in the Clients and Mobile Devices Permissions topic.
Parameters
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. |
ADPropertiesOnly |
Optional |
System.Management.Automation.SwitchParameter |
The ADPropertiesOnly switch specifies whether to return only the properties about the virtual directory stored in Active Directory. The properties stored in the Internet Information Services (IIS) metabase aren't returned. |
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 website for the Autodiscover virtual directory. |
ShowBackendVirtualDirectories |
Optional |
System.Management.Automation.SwitchParameter |
The ShowBackendVirtualDirectories switch specifies whether to list the virtual directories located on the Mailbox servers within the organization. |
ShowMailboxVirtualDirectories |
Optional |
System.Management.Automation.SwitchParameter |
The ShowMailboxVirtualDirectories switch specifies whether to list the virtual directories located on the Mailbox servers within the organization. |
Input Types
To see the input types that this cmdlet accepts, see Cmdlet Input and Output Types. If the Input Type field for a cmdlet is blank, the cmdlet doesn’t accept input data.
Return Types
To see the return types, which are also known as output types, that this cmdlet accepts, see Cmdlet Input and Output Types. If the Output Type field is blank, the cmdlet doesn’t return data.