7.10. Moving a Server Between Routing Groups
Problem
You wish to move an Exchange server to a different routing group.
Solution
Using a graphical user interface
Open the Exchange System Manager (Exchange System Manager.msc).
Ensure that you have enabled viewing of administrative and routing groups (see Recipe 7.3).
Expand the organization→ Administrative Groups→ target administrative group→ Routing Groups→ source routing group. Also expand the target routing group.
Click on the Members container of the source routing group to display the list of member servers in the right pane.
Move the server to the new routing group through either of the following methods:
Click on the server you wish to move and hold the mouse button down while dragging it to the Members container of the target routing group.
Right-click on the server you wish to move and select Cut. Right-click the Members container of the target routing group and select Paste.
Using VBScript
' This code moves an Exchange server to a different routing group. ' ------ SCRIPT CONFIGURATION ------ ' The common name of the Exchange server object strExchangeServer = "<ExchangeServerName>
" ' e.g., red-exch02 ' Name of the administrative group the server is a member of strSourceAG = "<SourceAG>
" ' e.g., SeattleAG ' Name of the target routing group to move the server to strTargetRG = "<TargetRG>
" ' e.g., RedmondRG ' Name of the administrative group the target routing group is in ' If you are in mixed mode, this must be the same as strSourceAG. ...
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.