Powershell for Exchange 2003 Routing Groups Question?

I support 60 Exchange 2003 Servers in an Exchange 2010  Organization and been task to move a new Exchange 2003 Frontend Server to the proper routing group. What powershell command can help me find what routing group the new Exchange 2003 Frontend server is in and what powershell command can put it in the proper routing group?
355LT1Asked:
Who is Participating?
 
Exchange_GeekCommented:
How would I add the new Exchange 2003 frontend to target routing group?

That should be simple, though you'll need to add the E2003 as source and target server for the bi-directional RGC between a particular RG and E2010.

Figure out which one you'll need to work and use the following cmdlet

Set-RoutingGroupConnector -identity "Name of RGC" -SourceTransportServers "Names of all the servers on E2k3 that would participate" -TargetTransportServers "Name of all the E2k10 servers that would participate"

Like wise, change the above cmdlet to add E2k3 as target server for RGC created on E2k10

Set-RoutingGroupConnector -identity "Name of RGC" -SourceTransportServers "Names of all the servers on E2k10 that would participate" -TargetTransportServers "Name of all the E2k3 servers that would participate"

Happy Weekend.

Regards,
Exchange_Geek
0
 
Exchange_GeekCommented:
Get-RoutingGroupConnector | fl Name,SourceTransportServers,TargetTransportServers

Get-RoutingGroupConnector | fl {$_.SourceTransportServers -like "*ServerName*" -or $_.TargetTransportServers -like "*ServerName"}

Replace ServerName with your new Server.

Regards,
Exchange_Geek
0
 
355LT1Author Commented:
Sorry it does'nt work for me.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
Exchange_GeekCommented:
my bad

Get-RoutingGroupConnector | where {$_.SourceTransportServers -like "*ServerName*" -or $_.TargetTransportServers -like "*ServerName*"}

Regards,
Exchange_Geek
0
 
355LT1Author Commented:
That worked.
How would I add the new Exchange 2003 frontend to target routing group?
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Get-RoutingGroupConnector | where {$_.SourceTransportServers -like "*ServerName*" -or $_.TargetTransportServers -like "*ServerName*"} | Set-RoutingGroupConnector -TargetTransportServers "ServerName"

- Rancy
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
Hope you have only ONE RGC ??

- Rancy
0
 
355LT1Author Commented:
I have about 40 RG and each one has around 6 RCGs
0
 
Manpreet SIngh KhatraSolutions Architect, Project LeadCommented:
WOW ...... Lovely !!

Do you want to make change to a particular RGC or what ?

- Rancy
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.