Statically pointing Exchange 2007 servers to dedicated Domain controllers and Global catalogs and excluding other domain controllers

If you have build a new Domain controller for the exchange environment and you wanted your exchange servers to user this domain controllers then below command can help is setting the same. You can also statically exclude not to use specific domain controller with the command

 

$Exchserver = “ExchagneServerName”

set-exchangeserver $exchserver -StaticDomainControllers:New_DC1,New_DC2

set-exchangeserver $exchserver -StaticGlobalCatalogs:New_Gc1,New_GC2

set-exchangeserver $exchserver -StaticExcludedDomainControllers:Old_Dc1,OldDC2

 

This can also be clubbed in a single line

 

Get-ExchagneServer $ExchServer -status | FL

 

Will get the details which are statically applied in above line. Some result may come in blank but using -status will get the results to display

4 thoughts on “Statically pointing Exchange 2007 servers to dedicated Domain controllers and Global catalogs and excluding other domain controllers

  1. Pingback: Exchange 2007 SP2 Prepare Schema Error because an override is set in the registry. « SMTP Port 25

  2. Pingback: torrent hosting

  3. Pingback: Exchange 2013 resources | Jacques DALBERA's IT world

  4. Pingback: Exchange 2013 resources | Jacques DALBERA's IT world

Leave a comment