Applies to: Exchange Server 2007
Topic Last Modified: 2007-06-11

Use the Remove-EdgeSubscription cmdlet to remove an Edge Subscription from the Exchange organization and from the subscribed computer that has the Edge Transport server role installed.

Syntax

Remove-EdgeSubscription -Identity <TransportServerIdParameter> [-DomainController <Fqdn>]

Parameters

Parameter Required Type Description

Identity

Required

Microsoft.Exchange.Configuration.Tasks.TransportServerIdParameter

This parameter specifies the identity of the Edge Transport server for which you want to remove the Edge Subscription. The identity is expressed as the host name of the Edge Transport server.

DomainController

Optional

Microsoft.Exchange.Data.Fqdn

Use the DomainController parameter to specify the host name or fully-qualified domain name (FQDN) of the domain controller that will write this change to Active Directory. This parameter is used only when the procedure is run on the Hub Transport server.

Detailed Description

The Remove-EdgeSubscription cmdlet removes an Edge Subscription. After you remove the Edge Subscription, synchronization of information from the Active Directory directory service to Active Directory Application Mode (ADAM) stops. All the accounts that are stored in ADAM are removed, and the Edge Transport server is removed from the source server list of any Send connector.

Edge Transport servers are subscribed to an Active Directory site by using the Edge Subscription process. You remove an Edge Subscription when an Edge Transport server is being replaced or when a server is compromised. You must perform this procedure on the Edge Transport server and on the Hub Transport server to completely remove the Edge Subscription.

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

  • Exchange Organization Administrator role

To perform the following procedure on a computer that has the Edge Transport server role installed, you must log on by using an account that is a member of the local Administrators group on that computer.

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

Input Types

Return Types

Errors

Error Description

 

 

Exceptions

Exceptions Description

 

 

Example

The following code example shows how to use the Remove-EdgeSubscription cmdlet to remove the Edge Subscription for the specified Edge Transport server.

Copy Code
Remove-EdgeSubscription -Identity EdgeServerName -DomainController dc.domain.com