Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2012-12-10
Use the Get-EcpVirtualDirectory cmdlet to retrieve all Exchange Control Panel virtual directories on a computer running Microsoft Exchange Server 2010 that has the Client Access server role installed.
Syntax
Get-EcpVirtualDirectory [-Identity
<VirtualDirectoryIdParameter>] [-ADPropertiesOnly
<SwitchParameter>] [-DomainController <Fqdn>]
|
Get-EcpVirtualDirectory -Server <ServerIdParameter>
[-ADPropertiesOnly <SwitchParameter>] [-DomainController
<Fqdn>]
|
Detailed Description
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 Control Panel (ECP) virtual directory settings" entry in the Client Access Permissions topic.
Parameters
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 Exchange Control Panel virtual directories that you want to display. If you don't specify a value for the Server parameter, all Exchange Control Panel virtual directories are returned. |
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 name or GUID of an Exchange Control Panel virtual directory. The Identity parameter is represented as: ServerName\ECP (WebsiteName). If you don't specify a server name, the command returns the Exchange Control Panel virtual directory on the local server. |
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.
Examples
EXAMPLE 1
This example displays the configuration data for the Exchange Control Panel virtual directory on Server01.
Copy Code | |
---|---|
Get-EcpVirtualDirectory -Server Server01 |