2.20. Moving Objects Between Administrative Groups
You need to move a server or routing group from one AG to another.
Solution
Using a graphical user interface
Open ADSI Edit (adsiedit.msc) from the Windows Support Tools.
Drill down through the structure, expanding the following containers:
ConfigurationContainer→CN=Configuration→CN=Services→CN=Microsoft Exchange→CN=<organization> →CN=Administrative Groups.Highlight and expand the AG that currently hosts the object you want to move.
Highlight the container holding the object type you want to move (i.e.,
CN=Servers).In the right pane, right-click the object you want to move and select the Move command.
In the Move dialog box, drill down through Services → Microsoft Exchange
→<domain>→ Administrative Groups and select the AG you wish to move the object to. Click OK.
Warning
Microsoft doesn't officially support moving Exchange servers between AGs using this method. It seems to work fine, but you should thoroughly test for side effects before making the change to a production server.
Using VBScript
' This code moves a server named W2KDC1 from the First Administrative
' Group to an Administrative group named Test AG.
' ------ SCRIPT CONFIGURATION ------
strNewParentAG = "LDAP://CN=Servers,CN=Test AG,CN=Administrative &_
Groups,CN=<organization>,CN=Microsoft Exchange,CN=Services,&_
CN=Configuration,DC=<domain>,DC=com"
strCurrentAG = "LDAP://CN=W2KDC1,CN=Servers,CN=First Administrative &_
Group,CN=Administrative Groups,CN=<organization ...