Problem:
How to remove Exchange 2003 and Exchange 2010 Routing Group Connector
Solution:
In this scenario there are two sites both running Exchange 2003 servers. The client has upgraded to exchange 2010 and installed two new servers one in each site.
The client now wants to change the routing groups but when using the Remove-RoutingGroupConnector cmdlet it returns an error with multiple instances. E.g. "Remove-RoutingGroupConnector : The operation could not be performed because legacy routing group connector matches multiple entries."
This is because the two way routing group setup uses the same Identity.
The way to delete the routing group is to identify the routing group by running the following cmdlet.
Get-RoutingGroupConnector
This will return a list of routing groups. Then to removed the desired routing group use the following cmdlet.
get-routinggroupconnector -Identity legacy routing group name | Remove-RoutingGroupConnector
If you want to delete all the connectors, just leave out the identity parameter.