Link to home
Start Free TrialLog in
Avatar of 355LT1
355LT1

asked on

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?
Avatar of Exchange_Geek
Exchange_Geek
Flag of India image

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
Avatar of 355LT1
355LT1

ASKER

Sorry it does'nt work for me.
my bad

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

Regards,
Exchange_Geek
Avatar of 355LT1

ASKER

That worked.
How would I add the new Exchange 2003 frontend to target routing group?
Avatar of Manpreet SIngh Khatra
Get-RoutingGroupConnector | where {$_.SourceTransportServers -like "*ServerName*" -or $_.TargetTransportServers -like "*ServerName*"} | Set-RoutingGroupConnector -TargetTransportServers "ServerName"

- Rancy
Hope you have only ONE RGC ??

- Rancy
Avatar of 355LT1

ASKER

I have about 40 RG and each one has around 6 RCGs
WOW ...... Lovely !!

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

- Rancy
ASKER CERTIFIED SOLUTION
Avatar of Exchange_Geek
Exchange_Geek
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial