iolike
asked on
Active Directory Query
Hi All
What would be the best query to use in retrieving the name, dept, Email address, and Phone number of all active users excluding groups from my active directory?
What would be the best query to use in retrieving the name, dept, Email address, and Phone number of all active users excluding groups from my active directory?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
dsquery user dc=yourdomain,dc=com | dsget user -samid -dept -email -phone
I don't know what do you mean by "excluding groups". The commands mentioned will not list groups at all, just users.
Martin