Applies to: Exchange Server 2013

Topic Last Modified: 2012-10-15

Use the Get-ActiveSyncVirtualDirectory cmdlet to retrieve the Microsoft Exchange ActiveSync settings configured on the Exchange ActiveSync website.

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

Syntax

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

Examples

EXAMPLE 1

This example returns the settings for the Exchange ActiveSync virtual directory on the server CAS-01.

Copy Code
Get-ActiveSyncVirtualDirectory -Server "CAS-01"

EXAMPLE 2

This example returns the settings for a specific Exchange ActiveSync virtual directory on the server CAS-01.

Copy Code
Get-ActiveSyncVirtualDirectory -Server "CAS-01" -Identity "Microsoft-Server-ActiveSync"

EXAMPLE 3

This example returns the settings for the Exchange ActiveSync virtual directory on the server CAS-01, for the domain controller DOM-01.

Copy Code
Get-ActiveSyncVirtualDirectory -Server "CAS-01" -DomainController "DOM-01"

Detailed Description

Microsoft Exchange Server 2013 contains a default virtual directory that Exchange ActiveSync mobile devices use to synchronize with the server. You can create multiple virtual directories and assign different devices to different directories. The Get-ActiveSyncVirtualDirectory cmdlet retrieves a variety of settings for the virtual directory.

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 ActiveSync 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 uniquely identifies a physical server. When this parameter is set, the command returns information configured on all virtual directories available on that server.

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 uniquely identifies an Exchange ActiveSync virtual directory on a physical server. If this value isn't set, this command returns information configured on all Exchange ActiveSync websites available across all Client Access servers in the Exchange organization.

ShowBackEndVirtualDirectories

Optional

System.Management.Automation.SwitchParameter

The ShowBackEndVirtualDirectories parameter controls whether the virtual directories on the Mailbox server are shown in the Exchange Administration Center.

ShowMailboxVirtualDirectories

Optional

System.Management.Automation.SwitchParameter

The ShowMailboxVirtualDirectories parameter controls whether the virtual directories on the Mailbox server are shown in the Exchange Administration Center.

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.