List all the DN’s for all the users in your domain

From a command prompt, type:  dsquery user

this will list all the DN’s for all the users in your domain.

And what is a DN?

  • CN = Common Name
  • OU = Organizational Unit
  • DC = Domain Component

Leave a reply