Solved

Setting Exchange 2010 to use multiple Domain Controlers

Posted on 2014-03-13
3
1,546 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 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

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

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
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…

749 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