Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All



Applies to: Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3

Topic Last Modified: 2015-03-08

The Get-ActiveSyncVirtualDirectory cmdlet enables you to retrieve the Microsoft Exchange ActiveSync settings that are configured on the Exchange ActiveSync Web site.

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

Get-ActiveSyncVirtualDirectory -Server <ServerIdParameter> [-DomainController <Fqdn>]

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

To run the Get-ActiveSyncVirtualDirectory cmdlet, the account you use must be delegated the Exchange View-Only Administrator role.

For more information about permissions, delegating roles, and the rights that are required to administer Exchange 2007, see Permission Considerations.


Parameter Required Type Description




This parameter uniquely identifies an Exchange ActiveSync virtual directory on a physical server. If this value is not set, this command will return information that is configured on all Exchange ActiveSync Web sites that are available across all Client Access servers in the Exchange organization.




This parameter uniquely identifies a physical server. When this parameter is set, the command returns information that is configured on all virtual directories that are available on that server.




To specify the fully qualified domain name (FQDN) of the domain controller that retrieves data from the Active Directory directory service, include the DomainController parameter in the command.


Parameter Description


A Boolean value that enables Basic authentication. By default, Basic authentication is disabled if Secure Sockets Layer (SSL) is not enabled on the ActiveSync server.


A Boolean value that enables the mobile device to use a client certificate. By default, this is enabled and the client will request a client certificate.


A Boolean value that defines whether the server can send the client authentication configuration settings to the mobile device. This is available only if ClientCertEnabled is set to $true.


A string that defines the template name that is required in the certification request sent by the mobile device to the certification authority (CA).


A string that defines the link to the certification authority that provides client certificates.


An integer that identifies the compression applied to the specified Exchange ActiveSync virtual directory


A Boolean value that indicates whether the user account is enabled for Exchange ActiveSync.


A Boolean value that indicates whether the user's Active Directory account is valid or not valid.


A string that defines the URL to the Exchange ActiveSync server. This is configured on the server and then sent to the mobile device.


A string that defines the name of the Exchange ActiveSync Web site to which the mobile device will connect.


A string that defines the name of the ActiveSync virtual directory. This is always Microsoft-Server-ActiveSync.


Error Description


Exceptions Description

The following code example returns the settings for the Exchange ActiveSync virtual directory on the server.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft