Bulk Distribution Groups
I have over 200 distribution groups to create within a Exchange 2007 organization. I have read some examples on the forums like this one: http://social.technet.microsoft.com/Forums/en/exchangesvrgeneral/thread/0f86bb8a-63a2-44e5-921f-4a227221e71d but I am still a little confused. Can someone give me a example of what a csv file should look like with my example below. Group Name = Group 1234 Type = Global Distribuiton Primary SMTP = group1234@domain.com Members = member1,member2,member3,member4 Thanks for any help.
November 20th, 2010 2:13pm

Hi, For this issue, you can use this command to achieve the goal: Note: I create a csv file named group1234, it saved at path “c:\group1234.csv” The members (in CSV file)are saved by this way: Name member1 member2 member3 member4 =================================================================== The command is : [PS] C:\Documents and Settings\Administrator>import-csv -Path "c:\group1234.csv" | Foreach-object {add-distributiongroupmember -identity "group1234" -member $_.Name} Here are some related articles for you: Recipient Management Using One-line Commands in Exchange Management Shell (PART 2) http://technet.microsoft.com/en-us/library/ff406203(EXCHG.80).aspx New-DistributionGroup http://technet.microsoft.com/en-us/library/aa998856(EXCHG.80).aspx How to Create a New Dynamic Distribution Group http://technet.microsoft.com/en-us/library/aa996561(EXCHG.80).aspx If anything is unclear, please feel free to let me know and I will be glad to help. Best Regards, Evan
Free Windows Admin Tool Kit Click here and download it now
November 24th, 2010 1:39am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics