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



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

Topic Last Modified: 2007-08-22

The Remove-ActiveSyncVirtualDirectory cmdlet enables you to delete an existing Microsoft Exchange ActiveSync virtual directory.

Remove-ActiveSyncVirtualDirectory -Identity <VirtualDirectoryIdParameter> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-WhatIf [<SwitchParameter>]]

When the Exchange ActiveSync virtual directory is removed from a specified server and Web site, the virtual directory is also removed from the Active Directory directory service.

To run the Remove-ActiveSyncVirtualDirectory cmdlet, the account you use must be delegated the Exchange Recipient Administrator role.

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


Parameter Required Type Description




This parameter uniquely identifies the Exchange ActiveSync virtual directory that is to be disabled.




This parameter causes the command to pause processing and requires that you acknowledge what the command will do before processing continues. You do not have to specify a value with the Confirm parameter.




This parameter specifies the fully qualified domain name (FQDN) of the domain controller that writes configuration changes to the Active Directory directory service.




This parameter instructs the command to simulate the actions that it would take on the object. By using this parameter, you can view what changes would occur without having to apply any of those changes. You do not have to specify a value with this parameter.


Error Description


Exceptions Description

This code example removes the default Exchange ActiveSync virtual directory from the server that is named Contoso.

Remove-ActiveSyncVirtualDirectory contoso\Microsoft-Server-ActiveSync
To ensure that you are reading the most up-to-date information and to find additional Exchange Server 2007 documentation, visit the Exchange Server TechCenter.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft. All rights reserved.