Exchange 2010

I am supposed to create distribution lists in exchange 2010 adding 1000 members in it.

please let me know the methods
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Amit KumarCommented:
If this requirement for a single OU users then you can create a Dynamic DL, i can provide you steps but fist you need to confirm what is requirement.

In case of users are in diff OU so create static DL. but still you will have to filter out users those will be added by script.

1. Create DL as per requirement

New-DistributionGroup -Name "Managers" -OrganizationalUnit "" -SamAccountName "Managers" -Type "Security"

Name: your choice, OU, you can define, Type your choice security or universal

2. create a CSV file with UserPrincipalName only and save it. I hope you can get it in case you need help let me know. but you will have to filter out users those are required.

In this CSV file only contacts UserPrincipalname of users nothing else. It should be like this:


Then run below command by changing DLname only.

Import-csv .\users.csv | %{Add-DistributionGroupMember -Identity "DLName" -Member $_.UserID}

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Will SzymkowskiSenior Solution ArchitectCommented:
Powershell is the appropriate solution for this. See below script.

Have your CSV file with a column heading of UPN and all of the users
$Userlist = Import-Csv "c:\filename.csv"
foreach ($Entry in $Userlist) {
Add-DistributionGroupMember -Identity "GroupName" -Member $Entry.UPN

Open in new window

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.