Solved

Setting Exchange 2010 to use multiple Domain Controlers

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

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

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

A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
After hours on line I found a solution which pointed to the inherited Active Directory permissions . You have to give/allow permissions to the "Exchange trusted subsystem" for the user in the Active Directory...
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager
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…

691 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