7.7. Creating a Routing Group

Problem

You need to create a new 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.

  4. If the Routing Groups container does not exist, right-click on the administrative group container and select New Routing Groups Container.

  5. Right-click the Routing Groups container and select New Routing Group.

  6. On the General tab, enter a name for the group, and click OK.

Using VBScript

' This code creates a Routing Group in an Exchange administrative group.
' ------ SCRIPT CONFIGURATION ------
' The common name of the Exchange server object to be made RGM
strExchangeServer = "<ExchangeServerName>" ' e.g., red-exch02
' Name of the administrative group the routing group will be in
strAdminGroup = "<SourceAG>" ' e.g., SeattleAG
' Name of the new routing group to create
strRoutingGroup = "<TargetRG>" ' e.g., RedmondRG
' Name of the Exchange organization
strExchangeOrg = "<ExchangeOrg>" ' e.g., ExampleOrg ' ------ END CONFIGURATION --------- strConfigDN = GetObject("LDAP://RootDSE").Get("configurationNamingContext") ' The path of the routing group container strRGContainerDN = "LDAP://CN=Routing Groups,CN=" & strAdminGroup &_ ",CN=Administrative Groups,CN=" & strExchangeOrg &_ ",CN=Microsoft Exchange,CN=Services," & ...

Get Exchange Server Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.