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.
Syntax
Remove-ActiveSyncVirtualDirectory -Identity
<VirtualDirectoryIdParameter> [-DomainController
<Fqdn>]
|
Parameters
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. |
Detailed Description
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.
Input Types
Return Types
Errors
Error | Description |
---|---|
Exceptions
Exceptions | Description |
---|---|
Example
This code example removes the default Exchange ActiveSync virtual directory from the server that is named Contoso.
Copy Code | |
---|---|
Remove-ActiveSyncVirtualDirectory contoso\Microsoft-Server-ActiveSync |