Need to export users list from the Group

What's the quick way to export the list of users from the specific group.   Adfind or AD query?
LVL 17
Tiras25Asked:
Who is Participating?
 
Sarang TinguriaConnect With a Mentor Sr EngineerCommented:
run this

dsquery group -samid "Group Name" | dsget group -members | dsget user -display -email >C:\Groupname.csv

Open in new window


note :- edit the group name
0
 
Mike KlineConnect With a Mentor Commented:
Lots of ways, I outlined some here

http://adisfun.blogspot.com/2009/07/find-enabled-users-in-domain-admin.html

In that example I looked for enabled users but you can take the useraccountcontrol part out if you want all users.

Thanks

Mike
0
 
Thomas Zucker-ScharffConnect With a Mentor Systems AnalystCommented:
You can also use luser.exe (it is seen as malware by some engines).
0
 
Sarang TinguriaConnect With a Mentor Sr EngineerCommented:
You may also use

Cjwdev | AD Info - Active Directory Reporting Tool
www.cjwdev.co.uk/Software/ADReportingTool/Info.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.