Dec 10, 2009

How to cut and paste Active Directory group members

The Active Directory Users and Groups MMC plugin (dsa.msc) is quick for finding groups and members, but hard to copy and paste from. Or at least I haven't figured out how yet.

So we go to the command line:
dsquery group -name ServiceDesk|dsget group -members > ServiceDeskMembers.txt

This command will output all the members of the group ServiceDesk to the text file ServiceDeskMembers.txt

No comments:

Post a Comment