Convert Distribution groups to Security Groups in bulk

I have about 500 groups in an OU that are Distribution groups.
I'd like to convert all of them to Security groups.
How can I do this?  I'm open to VB.NET, C#.NET, VBScript, and Powershell

Capt_RonIT Solutions ManagerAsked:
Who is Participating?
LindySConnect With a Mentor Commented:
You can easily do that by selecting them all in ADUC, and change them all to security groups.
You can change them all at one time.
It will make them mail-enabled security groups.
If you want to remove the email address, clear that field at the same time.

There really isn't a need to use a script for this task.
Capt_RonIT Solutions ManagerAuthor Commented:
The AD guys had all the groups in the same OU.  This made it easier.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.