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 |
OU | dsquery OU –name "OU name" |
Group | dsquery group –name "Group name" |
Username | dsquery user –name username |
Computer | dsquery computer -name computername |
Fun!