TIP: List members of a group
To list all members of a known group in human readable form (without the DN) from Active Directory:
dsget group "CN=MyGroup,OU=MyGroupOU,DC=domain,DC=com" -members | dsget user -fn -ln > MyGroup.txt
OR to just get their display name:
dsget group "CN=MyGroup,OU=MyGroupOU,DC=domain,DC=com" -members | dsget user -display > MyGroup.txt
-Lewis