Dsquery List members for all groups


Open Command prompt and use dsquery to export to txt the data to a TXT file.

dsquery * -limit 0 -filter “(&(objectCategory=group))” -attr name member > a.txt

Advertisements
%d bloggers like this: