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.