Active Directory:  Directory Resource Administrator (DRA)

itsmevic
itsmevic used Ask the Experts™
on
Hello Experts!

    I'm curious, I'm trying to get an inventory of my member users in each group that I have in AD.  Is it possible to export a Group query done in DRA that also includes member users and not just the group names themselves?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
You can use the AD inbuild tool to get an inventory of member of each group in the domain.

dsquery group DC=example,DC=Com | dsget group -members -expand >> exam.txt

dsquery will query all the groups from the example.com domain and dsget will collect the members of each group and export to exam text file.

Author

Commented:
Although this provides a group listing the output file is somewhat hard to read.  what would be nice if I could group it and under each group it's member listing.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial