Solved

Using Powershell to convert AD security group from Global to Universal per OU ?

Posted on 2016-11-01
3
24 Views
Last Modified: 2016-11-21
People,

Before I Join my AD domain to bigger AD forest, I need to convert existing 700+ AD security group which is configured as Global to Universal, so the member of this AD security group can be from any domains in the same AD forest.

How can I convert the AD security group per OU basis using the Pwoershell without losing the existing group member or its description & SID number ?

Thanks in advance.
0
Comment
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
yo_bee earned 500 total points
ID: 41869386
Try this
you need to have AD Powershell installed on your computer and import the module and run this
Import-Module activedirectory
get-adgroup -filter *  -SearchBase 'OU=Test_OU,DC=xxx,DC=xxxx' -SearchScope Subtree | ?{$_.GroupScope -eq 'Global'} | Set-ADGroup -GroupScope Universal

Open in new window

0
 
LVL 7

Author Comment

by:Senior IT System Engineer
ID: 41869387
Ok, does it going to convert the AD security group in one OU and its sub-OU as well ?

Or just the OU defined?
0
 
LVL 22

Expert Comment

by:yo_bee
ID: 41869392
change the subtree to OneLevel
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Worried about if Apple can protect your documents, photos, and everything else that gets stored in iCloud? Read on to find out what Apple really uses to make things secure.
This article outlines the process to identify and resolve account lockout in an Active Directory environment.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

776 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