Find LDAP DN of Users and Groups using the Command Line

I always forget this command, so here's a handy reference (for moi):

Find LDAP Path of...Command
OUdsquery OU –name "OU name"
Groupdsquery group –name "Group name"
Usernamedsquery user –name username
Computerdsquery computer -name computername

  Fun!