Install "Active Directory Management Gateway Service" on a domain controller 
and get your PowerShell on. :-)
It just needs framework 3.5 sp1 on the dc.

damien.solodow



-------- Original message --------
From: Webster <[email protected]>
Date: 06/18/2013 7:20 PM (GMT-05:00)
To: "<[email protected]>" <[email protected]>
Subject: [NTSysADM] Finding AD groups with legacy members



Current project had a consulting group come in and do an AD Assessment.  One of 
their findings was that they have many groups with almost 5,000 members.   Most 
of the groups were created and users added pre 2003 DFL/FFL .  Their conclusion 
was the legacy members need to be removed and readded to the groups to enable 
LVR for each group member.



Whether you or I agree with this conclusion, I have been tasked with finding 
which of their almost 24,000 groups have Legacy members.  I know I can do this:



C:\>repadmin /showobjmeta shc-dc "cn=administrators,cn=builtin,dc=shc,dc=org"

17 entries.



<snip>
21 entries.
Type             Attribute

LEGACY        member
LEGACY        member
LEGACY        member
LEGACY        member
LEGACY        member
LEGACY        member
LEGACY        member
LEGACY        member
LEGACY        member
LEGACY        member
LEGACY        member
LEGACY        member
PRESENT       member

PRESENT       member

PRESENT       member

PRESENT       member

PRESENT       member

PRESENT       member

PRESENT       member

PRESENT       member

PRESENT       member

C:\>





I could run that command 24,000 times but it would be nice to automate that.  
BUT, all the DCs are 2003 so I don't have access to using the Microsoft 
PowerShell AD stuff.  My GoogleFU is failing me and I have not found a script 
that finds AD Security groups with Legacy members.



Any hints, clues, tips or help from the peanut gallery?



Once I know all the groups with Legacy members, then my next task is the 
removing of the Legacy members and adding them back in so LVR is enabled (I did 
find a script for that).



Once that is done, I can begin the process of moving them to Server 2012 DCs 
and all those benefits.



Thanks





Carl Webster

Consultant and Citrix Technology Professional

http://www.CarlWebster.com<http://www.carlwebster.com/>

Reply via email to