Export (0) Print
Expand All

Get-WebServicesVirtualDirectory

Applies to: Exchange Server 2010

Topic Last Modified: 2011-03-19

Use the Get-WebServicesVirtualDirectory cmdlet to retrieve information in Active Directory for the virtual directory EWS from a computer running Microsoft Exchange Server 2010 with the Client Access server role installed.


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


Get-WebServicesVirtualDirectory -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 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 either the GUID of the server, the name of the Web site, or the name of the virtual directory that you want to display.

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) Web sites 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 settings" entry in the Client Access Permissions topic.

Error Description

 

 

Exceptions Description

 

 

This example returns the settings for the Exchange Web Services virtual directory EWS under the default Web site 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
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft