Quantcast
Channel: Exchange Server 2013 - Setup, Deployment, Updates, and Migration forum
Viewing all articles
Browse latest Browse all 7129

Adding multiple accepted domains with Import-CSV

$
0
0
Hello, I am currently adding a huge list of domains to my external relay in Exchange Server 2010. I know that there is a way to import data from a CSV file but I'm having trouble figuring out how to write it correctly so that the data will get placed how I want it.

The powershell command i'm currently using is as follows:
    
New-AcceptedDomain -name "Domain.com" -DomainName domain.com -DomainType ExternalRelay

I know that the Import-CSV | command can be used to specify data and designate it for the `-name` and `-DomainName` attributes. But I need help. 

Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>