I need help with the dsguery and dsget command.
I have an OU = Distro
inside of the OU there there is a Group scope that is = Universal
The group type is = Distribution
The group name is = ACL Team
This group has users object and contact object as the memebers of this distribution group.
I need information from this distribution group.
I need from the users in this group thier email address
I need from the contact object the email address
could you help me with this command and out put the result to a file.
I am missing the part how to get the information from the contacts in this distribution group
also let me know about the spaces in between the commands
dsquery group -name "ACL Team" | dsget group -members | dsget user -email -display > c:\Group\ACL.txt