MS Active Directory - List all groups DN in an OU
Type this command in the command prompt of a AD Domain Controller to list all the groups in an OU:
dsquery group "OU=My OU,DC=MYDomain,DC=COM" -name * | dsget group -dn
dsquery group "OU=My OU,DC=MYDomain,DC=COM" -name * | dsget group -dn
Comments
Post a Comment