Applies to: Exchange Server 2007 SP3, Exchange Server 2007 SP2, Exchange Server 2007 SP1
Topic Last Modified: 2007-06-28

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> [-Confirm [<SwitchParameter>]] [-DomainController <Fqdn>] [-WhatIf [<SwitchParameter>]]

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.

Confirm

Optional

System.Management.Automation.SwitchParameter

The Confirm parameter causes the command to pause processing and requires the administrator to acknowledge what the command will do before processing continues. The default value is $true.

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.

WhatIf

Optional

System.Management.Automation.SwitchParameter

The WhatIf parameter instructs the command to simulate the actions that it would take on the object. By using the WhatIf parameter, the administrator can view what changes would occur without having to apply any of those changes. The default value is $true.

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