Bulk update owner of distribution list?
I read (http://social.technet.microsoft.com/Forums/en-US/exchangesvrgeneral/thread/8f6974ab-213e-413e-ad5e-e1e74b87ef12) that its possible to bulk create distribution lists..however I have 20+ that need to be assigned a new owner (and thusly the owner needs
to be able to manage/change the list as well).
I've scoured the net but my google foo was inconclusive...has anyone done this? I'm not finding any script or otherwise love on this topic, so help is much appreciated!
May 24th, 2011 5:19pm
What version of Exchange? If it's 2007 or 2010, you can probably do this with a fairly simple PowerShell script based on the Import-CSV cmdlet.Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
Free Windows Admin Tool Kit Click here and download it now
May 25th, 2011 1:38pm
Hi,
You can do that like:
[PS] C:\Documents and Settings\Administrator>import-csv -Path "c:\group1234.csv" | Foreach-object {set-distributiongroup -identity $_.Name -ManagedBy Administrator,User1 }Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
May 26th, 2011 2:16am
Yeah, if the CSV file has "Name" as the header, and you want User1 to be the ManagedBy on every group.Ed Crowley MVP "There are seldom good technological solutions to behavioral problems."
Free Windows Admin Tool Kit Click here and download it now
May 26th, 2011 8:25pm