This topic has not yet been rated - Rate this topic

Remove-ActiveSyncVirtualDirectory (RTM)

 

Applies to: Exchange Server 2007

Topic Last Modified: 2007-06-11

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


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

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

To run the Remove-ActiveSyncVirtualDirectory cmdlet, the account you use must be delegated the following:

  • Exchange Recipient Administrator role

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

 

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.VirtualDirectoryIdParameter

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

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

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

 

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)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.