Exchange (All Versions) - Bulk update Accepted Domains - TechNet Articles - United States (English) - TechNet Wiki

In Exchange, you might have a number of accepted domains and manually editing the information can be a daunting task. The PowerShell script below updates the Name value with the new name. If you use a third-party provider like Ensim, they generalbottom fiji-content-fragment-bottom">

Exchange (All Versions) - Bulk update Accepted Domains

In Exchange, you might have a number of accepted domains and manually editing the information can be a dauntinly add a bracket () with a number behind the name and this can cause issues if you shift providers and it cannot verify the domain name. Here is the script link:

The CSV file contains four columns: Domain, DomainName, DomainType and Default

The above will import a PSSession if you have not run this from an Exchange server. The next step will look at the CSV file and map out the fields and lastly set it to the Domain name which should be the correct one.

PowerShell to the rescue especially when having to update thousands of records.