Blog

The right way to View an AD Object’s Canonical Title

by | May 24, 2024 | Gadgets

[ad_1]

Discover ways to view and edit an Lively Listing object’s Canonical Title with the choices described on this information.

Choice 1: View Canonical Title From ADUC

1. Open Lively Listing Customers and Computer systems, click on View and choose Superior Options.

Open-Active-Directory-Users-and-Computers-click-View-and-select-Advanced-Features
  1. After that, navigate the AD container, the place the thing is situated, right-click the thing and choose Properties.
  1. Then, click on the Object tab – the Canonical Title is displayed on this tab.

Choice 2: View Canonical Title with PowerShell

  1. Open PowerShell on a pc that has entry to a Area Controller.
  2. Then, get the thing’s distinguishedName by operating the command beneath. The command saves the outcome within the $distinguishedName variable.
$distinguishedName = (Get-ADObject -Filter {Title -eq 'Anthony Raj'}).DistinguishedName

Within the above command, ‘Anthony Raj’ is the AD Show Title of the thing I wish to get its CN. Right here is the results of the command. To verify that it labored, I executed the variable.

Then, get the object's distinguishedName by running the command below. The command saves the result in the $distinguishedName variable.
  1. Lastly, show the objects Canonical Title by operating this command:
Get-ADObject -filter {distinguishedname -eq $distinguishedName} -properties canonicalName

The command displayed different properties. To show simply the CN, modify the command as proven beneath.

(Get-ADObject -filter {distinguishedname -eq $distinguishedName} -properties canonicalName).CanonicalName

Conclusion

An AD object’s canonicalName shows the thing within the canonical format. This exhibits the total path of the thing in AD, separated by a ahead slash (/).

If you could view this property in Lively Listing, you should utilize ADUC or PowerShell as I’ve proven on this fast information.

If this information met your expectations, let me know by responding Sure to the “Was this web page useful?” beneath. Earlier than you go, browse our Home windows Server How-to Guides for extra guides.

[ad_2]

Laubeau Jac Lawrance

Laubeau Jac Lawrance

Your content goes here. Edit or remove this text inline or in the module Content settings. You can also style every aspect of this content in the module Design settings and even apply custom CSS to this text in the module Advanced settings.