Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Group Membership

Status
Not open for further replies.

echoecho

IS-IT--Management
Jan 4, 2002
302
US
Is there a way from the command line, or any way really, to get a list of all members of a global group? I can look in active directory users and computers, but if someone wants a list of all the members I either have to write them all down or do screen shots. Thanks in advance for your help.
 
Type the following at the command prompt:

net group "groupname" /domain

you can also pipe it to a text file like this:

net group "groupname" /domain > mytextfile.txt

PS. just change groupname not domain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top