Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Chuzo Login

    Top Cooking Websites For Food Bloggers

    Katy Perry Goes To Space!

    Facebook X (Twitter) Instagram
    Tech Empire Solutions
    • Home
    • Cloud
    • Cyber Security
    • Technology
    • Business Solution
    • Tech Gadgets
    Tech Empire Solutions
    Home » How to view the canonical name of an AD object
    Tech Gadgets

    How to view the canonical name of an AD object

    techempireBy techempire6 Comments2 Mins Read
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr WhatsApp Email
    Share
    Facebook Twitter LinkedIn Pinterest Telegram Email

    Learn how to view and edit the canonical names of Active Directory objects using the options described in this guide.

    Option 1: View the canonical name from ADUC

    1. Open Active Directory Users and Computers and click view and select Advanced functions.

    Open-Active-Directory-Users and Computers-click-View-and select-Advanced FeaturesOpen-Active-Directory-Users and Computers-click-View-and select-Advanced Features
    1. After that, navigate to the AD container where the object is located, right-click on the object and select characteristic.
    1. Then click the Objects tab – the specification name appears on this tab.

    Option 2: Use PowerShell to view the spec name

    1. Open PowerShell on the computer that has access to the domain controller.
    2. Then, get the DistinguishedName of the object by executing the following command. This directive saves the result in the $distinguishedName variable.
    $distinguishedName = (Get-ADObject -Filter Name -eq 'Anthony Raj').DistinguishedName

    In the above command, “Anthony Raj” is the AD display name of the object whose CN I want to get. This is the result of the command. To confirm that it works, I executed the variable.

    Then, get the DistinguishedName of the object by executing the following command. This directive saves the result in the $distinguishedName variable.Then, get the DistinguishedName of the object by executing the following command. This directive saves the result in the $distinguishedName variable.
    1. Finally, display the object specification name by executing the following command:
    Get-ADObject -filter distinguishedname -eq $distinguishedName -properties canonicalName

    This directive displays additional properties. To display only the CN, modify the directive as shown below.

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

    in conclusion

    The AD object’s canonicalName displays the object in canonical format. This shows the full path to the object in AD, separated by a forward slash (/).

    If you need to view this attribute in Active Directory, you can use ADUC or PowerShell, as I show in this quick guide.

    If this guide meets your expectations, please let me know by replying Yes Go to “Was this page helpful?” below. Before you get started, browse our Windows Server How-to Guide for more guidance.

    Source link

    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    techempire
    • Website

    Related Posts

    8Bitdo’s Ultimate Controller with Charging Dock is back on sale for $56

    Meater Plus smart meat thermometer price drops to record low

    Meta’s Threads gets its own Tweetdeck clone

    YouTube reportedly agrees to block videos of Hong Kong protest songs in the region

    EA Sports Dormant college football will resurface like a cicada on July 19

    OpenAI reaches agreement to put Reddit posts into ChatGPT

    Leave A Reply Cancel Reply

    Top Reviews
    Editors Picks

    Chuzo Login

    Top Cooking Websites For Food Bloggers

    Katy Perry Goes To Space!

    Mr. Meowski’s Bakery To Re-Locate In St. Charles MO

    Legal Pages
    • About Us
    • Disclaimer
    • DMCA
    • Privacy Policy
    Our Picks

    Gateway Studios High-Tech Recording Studio To Open In Chesterfield, Missouri

    Edufox

    Emerging Academic Education Platforms – Sponsored By Edufox

    Top Reviews

    Type above and press Enter to search. Press Esc to cancel.