display member information of domain group user

can someone tell me if there is a way to export a list which contains Windows 2003 domain group member's Login ID, First and last name?  

Thanks.
nav2567Asked:
Who is Participating?
 
oBdACommented:
Try the following command in a command prompt:
dsquery group -name <YourGroupName> | dsget group -members | dsget user -samid -fn -ln
You can redirect the output of this command to a text file in the current folder:
dsquery group -name <YourGroupName> | dsget group -members | dsget user -samid -fn -ln >SomeTextFile.txt
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.