Export (0) Print
Expand All
Expand Minimize
0 out of 1 rated this helpful - Rate this topic

Get-WebServicesVirtualDirectory

 

Applies to: Exchange Server 2013

Topic Last Modified: 2014-02-06

Use the Get-WebServicesVirtualDirectory cmdlet to retrieve information in Active Directory for the Exchange Web Services virtual directory from a computer running Microsoft Exchange Server 2013.

For information about the parameter sets in the Syntax section below, see Syntax.

Get-WebServicesVirtualDirectory -Server <ServerIdParameter> <COMMON PARAMETERS>
Get-WebServicesVirtualDirectory [-Identity <VirtualDirectoryIdParameter>] <COMMON PARAMETERS>
COMMON PARAMETERS: [-ADPropertiesOnly <SwitchParameter>] [-DomainController <Fqdn>] [-ShowBackEndVirtualDirectories <SwitchParameter>] [-ShowMailboxVirtualDirectories <SwitchParameter>]

This example returns the settings for the Exchange Web Services virtual directory EWS under the default website in IIS.

Get-WebServicesVirtualDirectory -Identity "EWS (Default Web Site)"

This example uses the Identity parameter to retrieve all settings for the Exchange Web Services virtual directories on the server CAS01.

Get-WebServicesVirtualDirectory -Identity CAS01

The Get-WebServicesVirtualDirectory cmdlet can be run on a local server or run remotely if the server name is specified in the Identity or Server parameters. It can also be run without parameters to retrieve the configuration settings from all Microsoft Office Outlook Web App virtual directories on all Internet Information Services (IIS) websites located on the Client Access servers in the organization.

The Get-WebServicesVirtualDirectory cmdlet can be run on any server that has the Exchange administration tools installed.

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 "Exchange Web Services virtual directory settings" entry in the Clients and Mobile Devices Permissions topic.

 

Parameter Required Type Description

Server

Required

Microsoft.Exchange.Configuration.Tasks.ServerIdParameter

The Server parameter specifies the name or GUID of the 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 GUID of the server, the name of the website, or the name of the virtual directory that you want to display.

ShowBackendVirtualDirectories

Optional

System.Management.Automation.SwitchParameter

This parameter is reserved for internal Microsoft use.

ShowMailboxVirtualDirectories

Optional

System.Management.Automation.SwitchParameter

The ShowMailboxVirtualDirectories switch specifies whether the virtual directories on the Mailbox servers within the organization are shown.

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.

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.

 
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.