Solved

Setting Exchange 2010 to use multiple Domain Controlers

Posted on 2014-03-13
3
1,461 Views
Last Modified: 2014-06-02
A while back for trouble shooting purposes I set Exchange to look at one Domain controller specifically by using the following PS command.

Set-AdServerSettings - PreferredServer servername.domain.com  

I want to set it to look at mulitple DC's or at least have a fail-over if possible

Thank you
0
Comment
Question by:sugadmin
  • 2
3 Comments
 
LVL 63

Expert Comment

by:Simon Butler (Sembee)
ID: 39927780
This should set it back to the default settings where Exchange chooses:
Set-AdServerSettings -PreferredServer $null

Otherwise you have to list all of the domain controllers, as the command replaces the list, rather than makes additions to it.

Simon.
0
 

Author Comment

by:sugadmin
ID: 39934143
Thank you Simon.  the $null did not work so I'm back to trying to enter a list.  I've tried a comma and other things but it's not working...  I'll keep at it.

[PS] C:\Windows\system32>Set-AdServerSettings -PreferredServer DC01.domain.com,DC02.domain.com
Cannot process argument transformation on parameter 'PreferredServer'. Cannot convert the "System.Collections.ArrayList
" value of type "System.Collections.ArrayList" to type "Microsoft.Exchange.Data.Fqdn".
    + CategoryInfo          : InvalidData: (:) [Set-ADServerSettings], ParameterBindin...mationException
    + FullyQualifiedErrorId : ParameterArgumentTransformationError,Set-ADServerSettings
    + PSComputerName        : excas01.domain.com
0
 
LVL 63

Accepted Solution

by:
Simon Butler (Sembee) earned 500 total points
ID: 39937852
Done some more research on this.

Run the following command on the Exchange server:

Set-ExchangeServer –Identity exchangeservername -value $null

where exchangeservername is the name of your Exchange server and value is one each of the following:

StaticConfigDomainController
StaticDomainControllers
StaticExcludedDomainControllers
StaticGlobalCatalogs

So you will run the command four times in total.

Simon.
0

Featured Post

Don't lose your head updating email signatures!

Do your end users still have the wrong email signature? Do email signature updates bore you or fill you with a sense of dread? You can make this a whole lot easier on yourself by trusting an Exclaimer email signature management solution. Over 50 million users do...so should you!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Utilizing an array to gracefully append to a list of EmailAddresses
A brief introduction to what I consider to be the best editor for PowerShell.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now