All,
I'm trying to enumerate all groups in my AD environment. I need to get Group name group type and group members for each group…
I've tried some sample _vbscript_s from http://www.microsoft.com/technet/scriptcenter/resources/qanda/apr05/hey0419.mspx
Then I tried (below) but It still doesn't seem to pull back everything I need- Any help would be great! In a perfect world - J - I need a list of all security groups and distribution groups and their members
Thanks,
Mike
Enumerate Security Groups and Member in Domain
csvde -f c:\tmp\SecurityGroups.csv -p subtree -l cn,mail,member -r "(|(&(objectCategory=Group)(objectClass=Group)(|(groupType=-2147483644)(groupType=-2147483646)(groupType=-2147483640))))" -j c:\tmp
Enumerate Distribution Groups and Member in Domain
csvde -f c:\tmp\DistributionLists.csv -p subtree -l cn,mail,member -r "(|(&(objectCategory=Group)(objectClass=Group)(|(groupType=8)(groupType=4)(groupType=2))))" -j c:\tmp
Give Joe's adfind a spin, there is a good article here that may help too (nice adfind examples)
On 7/25/06, Mike Hogenauer <[EMAIL PROTECTED]> wrote:
- RE: [ActiveDir] Enumerating Group type and Mebership.... Mike Hogenauer
- Re: [ActiveDir] Enumerating Group type and Mebers... Matt Hargraves
- RE: [ActiveDir] Enumerating Group type and Me... Mike Hogenauer
- Re: [ActiveDir] Enumerating Group type an... Matt Hargraves
- RE: [ActiveDir] Enumerating Group ty... WATSON, BEN
- Re: [ActiveDir] Enumerating Group ty... AFidel
- RE: [ActiveDir] Enumerating Group type an... Ken Schaefer
- RE: [ActiveDir] Enumerating Group ty... Marcus.Oh
- RE: [ActiveDir] Enumerating Group type an... joe
- RE: [ActiveDir] Enumerating Group type and Me... joe
- Re: [ActiveDir] Enumerating Group type and Mebership... mike kline
- RE: [ActiveDir] Enumerating Group type and Mebership... MAURAT
- Re: [ActiveDir] Enumerating Group type and Mebership... Mathieu CHATEAU
