Use the Remove-EdgeSubscription cmdlet to remove Edge Subscription from the Exchange organization and from the subscribed Edge Transport server.
Synchronization of information from Active Directory to the Active Directory Lightweight Directory Services (AD LDS) instance stops.
All the accounts stored in AD LDS are removed.
The Edge Transport server is removed from the list of source servers for any Send connector.
If the Edge Transport server is the only source server for any Send connector, the Send connector is removed.
This example removes Edge Subscription for the Edge Transport server named Edge1.
If you don't specify the Force switch, the command will inform you that the removal of the replicated recipient data from AD LDS can take a long time and will give you the option to cancel the operation.
The Identity parameter specifies the identity of the Edge Transport server for which you want to remove Edge Subscription. The identity is expressed as the host name of the Edge Transport server.