How to print out the Group Member in AD

C

cavatino

How can I print out the Group Member in AD?
I know that I can find the members from the "members" tap
of the certain group. Now, I would like to print out all
the members in the certain group with the printer. Can you
tell the delail please?

Thanks and Regards.
 
J

Jimmy Andersson [MVP]

net group "group name" > filename.txt

The above line will write the group members to a textfile which you can
print.

Regards,
/Jimmy
 
O

OregonSteve

Greetings-

This is OK, but I have 200 groups. Is there a way to do this recursively
(i.e. over and over for ALL groups)?

Thanx
OregonSteve
 
H

Henrik Johansson

for /F "skip=4 delims=*" %a in ('net groups') do net group "%a" > "%a.txt"

above will take all groups.
/Henrik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top