Printing members of an Active Directory group

C

Chuck

How do I print a list of the members of a specific
group in Active Directory? The only way I have found is
doing a print screen of the members tab inside the group
properties. Is there a way to print the entire list of
users that belong to a group? Thanks for the help.
 
P

Peter Demeyer

(This works in an NT domain anyway):
make a .vbs scripts and put the following in it:

Set Group = GetObject("WinNT://domainname/groupname")
For Each Member in Group.Members
wscript.echo Member.Name
Next

(execute the script with cscript.exe, not wscript.exe)
 

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