Solved

Setting Exchange 2010 to use multiple Domain Controlers

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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

This article explains how to install and use the NTBackup utility that comes with Windows Server.
The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
In this video we show how to create a Contact 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 Recipients >> Contact ta…
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…

809 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