O'Reilly logo

Exchange Server Cookbook by Devin L. Ganger, Missy Koslosky, Paul Robichaux

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.8. Removing a Routing Group

Problem

You need to remove a routing group in your Exchange organization.

Solution

Using a graphical user interface

  1. Open the Exchange System Manager (Exchange System Manager.msc).

  2. Ensure that you have enabled viewing of administrative and routing groups (see Recipe 7.3).

  3. Expand the organization Administrative Groups target administrative group Routing Groups target routing group.

  4. Ensure that all member servers have been moved to other routing groups (see Recipe 7.9).

  5. Select the Routing Groups container. Right-click the routing group object and select Delete.

  6. Confirm the deletion.

Using VBScript

' This code deletes a routing group if it meets several tests
' ------ SCRIPT CONFIGURATION ------
' Name of the Exchange organization
strExchangeOrg = "<Organization>" ' e.g., ExampleOrg
' Name of the administrative group the routing group is in
strAdminGroup = "<AdminGroup>" ' e.g., SeattleAG
' Name of the routing group the server is in
strRoutingGroup = "<RoutingGroup>" ' e.g., RedmondRG ' Default boolean state; do not change boolReady = True ' ------ END CONFIGURATION --------- ' Create the routing group object strConfigDN = GetObject("LDAP://RootDSE").Get("configurationNamingContext") strRoutingGroupDN = strRoutingGroup & ",CN=Routing Groups,CN=" & _ strAdminGroup & ",CN=Administrative Groups,CN=" & _ strExchangeOrg & ",CN=Microsoft Exchange,CN=Services," & _ strConfigDN Set objRoutingGroup = GetObject("LDAP://CN=" & strRoutingGroupDN) ' Test for member servers ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required