Skip to content

Instantly share code, notes, and snippets.

@asolera
Last active July 15, 2019 12:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asolera/5857e958102e875508ae61b5083b53b4 to your computer and use it in GitHub Desktop.
Save asolera/5857e958102e875508ae61b5083b53b4 to your computer and use it in GitHub Desktop.
Active Directory - Localizar "dn" do usuário
dsquery user -samid d123456
:: Retorno => CN=Fulano da Silva,OU=Users,OU=XYZ,DC=rede,DC=sp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment