Convert Distribution groups to Security Groups in bulk

Posted on 2011-10-25
Last Modified: 2012-05-12
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

Question by:Capt_Ron
    LVL 3

    Accepted Solution

    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.
    LVL 1

    Author Closing Comment

    The AD guys had all the groups in the same OU.  This made it easier.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Are you having trouble running ADPREP on your current 32-bit Domain Controller? Have you ran ADPREP multiple times on your Domain but still get an error stating you have not prepared your Domain yet? Here is a change that gets even the most seaso…
    If you migrate a Terminal Server licenses server inside the 2008 server family, you can takte advantage of the build-in migration tool. If you like to migrate an older 2003 Server (and the installed client CALs) to a 2008 R2 server for example, you …
    This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
    This tutorial will show how to inventory, catalog, and restore media from legacy versions of Backup Exec into both 2012 and 2014 versions of the software. Select Storage from the tabs along the ribbon bar as the top: Ensure the proper storage devi…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now