|
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 |
- [ActiveDir] Enumerating Group type and Mebership... Mike Hogenauer
- RE: [ActiveDir] Enumerating Group type and Mebershi... Laura A. Robinson
- RE: [ActiveDir] Enumerating Group type and Mebe... Mike Hogenauer
- Re: [ActiveDir] Enumerating Group type and ... Matt Hargraves
- RE: [ActiveDir] Enumerating Group type ... Mike Hogenauer
- Re: [ActiveDir] Enumerating Group ... Matt Hargraves
- RE: [ActiveDir] Enumerating Gr... WATSON, BEN
- Re: [ActiveDir] Enumerating Gr... AFidel
- RE: [ActiveDir] Enumerating Group ... Ken Schaefer
- RE: [ActiveDir] Enumerating Gr... Marcus.Oh
- RE: [ActiveDir] Enumerating Group ... joe
