SMTP Port 25

Anything and Everything Related to Messaging and Collaboration, Active Directory and Scripting. It’s My Life!!!

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

Posted by Krishna - MVP on March 20, 2009

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

About these ads

2 Responses to “Statically pointing Exchange 2007 servers to dedicated Domain controllers and Global catalogs and excluding other domain controllers”

  1. [...] http://smtpport25.wordpress.com/2009/03/20/statically-pointing-exchange-2007-servers-to-dedicated-do… [...]

  2. seedbox…

    Statically pointing Exchange 2007 servers to dedicated Domain controllers and Global catalogs and excluding other domain controllers « SMTP Port 25…

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.

Join 49 other followers

%d bloggers like this: