Script for creating mail enabled distribution lists.
Posted on 2008-10-14
i'm cleaning up AD mail enabled security groups. I want to remove their Exchange attributes so they are no longer mail enabled. However I would like to create the same name and append _DL . This way all AD objects with _DL will be mail enabled Global Ditribution lists. The members have to be copied over.
We now have in AD the Group "IT Dept" which is a mail enabled Global Security Group. We have 10 users in the member field added. So someone can write to "IT Dept@domain.com" and the 10 members get the email.
I would like to change it to:
"IT Dept_DL" and make it a Mail enabled Global Distribution Group and have all the 10 users copied over.
Because I have about 100 groups to do is there a way to have a script running that will do this instead of me doing it manually?
Much appreciate the help,