We help IT Professionals succeed at work.

Need to extract a list all active directory users from all active directory groups

Hi all ,

As the title suggests Im looking for a script that can extract a list of user group membership for all groups in the AD and direct them to a txt file that is some what legible :-)

Thanks
Gerard
Comment
Watch Question

AmitIT Architect
BRONZE EXPERT
Distinguished Expert 2017

Commented:

Commented:
e.g.:
dsquery group -limit 99999 | dsget group -members >export.txt
Just to clarify. I want to extract what users/groups have access to what folders on the H drive. ( the H drive is a network drive)
IT Architect
BRONZE EXPERT
Distinguished Expert 2017
Commented:

Explore More ContentExplore courses, solutions, and other research materials related to this topic.