Distinguished Name
Everything in AD (Active Directory) has a Distinguished Name. A Distinguished Name can be used in many situations such as setting up an application to use a service account or adding AD groups or users into applications and so much more.
A Distinguished Name is also known as a DN. A benefit of an using a DN is that no two objects in Active Directory can ever have the same DN.
In this post I’ll show step-by-step how to get the Distinguished Name for the various items in Active Directory via the GUI and PowerShell.
GUI Way
- Open Active Directory Users and Computers

- Click on View > Advanced Features

- Right click on anything in AD and click on Properties

- Click on the Attribute Editor tab.



















