Setting a Preferred Domain Controller in Exchange via EMS
You can specify which Domain Controller should be used by a specific Microsoft Exchange server through the Exchange Management Shell (EMS). This is particularly useful in distributed environments or when multiple domain controllers are available, to optimize performance or reduce latency.
View the Current Domain Controller Setting
Open the Exchange Management Shell and run the following command:
Get-ADServerSettings | fl
This command will display the current configuration, including the preferred domain controller if one is set.
Set a Preferred Domain Controller
To specify a particular domain controller, use the following command:
Set-ADServerSettings -PreferredServer dc2.exchangeserverpro.local
Replace dc2.exchangeserverpro.local with the FQDN (Fully Qualified Domain Name) of the desired domain controller, e.g., dc0.acs-hosting.local.
Note
This setting applies only to the current EMS session. You will need to set it again if you open a new session.