?
Solved

Setting Exchange 2010 to use multiple Domain Controlers

Posted on 2014-03-13
3
Medium Priority
?
1,635 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
In this video we show how to create an Accepted Domain 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 >> Ac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
Suggested Courses

800 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