To create new distribution list in Exchange Server 2010 and import a list of users from a CSV file please follow the steps below.
This script can save you a lot of time if you have a very large list of users you need to import to a new or old DG.
The first step you need to take is to create a CSV file with the same format below:
Once you have the file, save it in C:\scripts, Open the EMS and type the cmdlet below remember to change the name of the CSV file and the name of the DG.
import-csv C:scripts\test.csv | foreach {add-distributiongroupmember -id test -member $_.PrimarySmtpAddress }
To view the new members type get-DistributionGroupmember test