Results 1 to 3 of 3

Thread: Get FQDN using ADSI

  1. #1
    Join Date
    Sep 2011
    Posts
    2

    Get FQDN using ADSI

    Hi,

    I am enumerating all the computers from domain. I want to know the FQDN of all enumerated computers from domain. Is there any way to do this?

    Any help, suggestion is highly appreciated.

    Thanks in advance.

  2. #2
    Join Date
    Mar 2010
    Posts
    264

    Re: Get FQDN using ADSI

    Hello I am not getting what you are asking but somehow I think you want to retrieve the name property so according to that so if you try to retrieve the name property at that moment it will give you the basic name of the computer and even if you want to regain the host name then also you can perform it. To perform this you have to basically use the dsquery by using this you can get the computer name.

    dsquery * -filter "(objectCategory=computer)" -attr dNSHostName, distinguishedName
    I hope this will help you somehow.

  3. #3
    Join Date
    Sep 2011
    Posts
    2

    Re: Get FQDN using ADSI

    Thanks for reply. I got the way to get the FQDN. I used "DNSHostName" Property to do the same.

Similar Threads

  1. Setting a FQDN?
    By Catawba in forum Networking & Security
    Replies: 5
    Last Post: 24-04-2010, 12:18 PM
  2. Multiple FQDN's in SBS 2008
    By dudemax in forum Networking & Security
    Replies: 3
    Last Post: 12-09-2009, 11:46 AM
  3. can I view user account SID and GUID via ADSI
    By ridergroov in forum Active Directory
    Replies: 2
    Last Post: 11-06-2008, 11:51 PM
  4. cannot join domain using fqdn
    By Landon in forum Active Directory
    Replies: 4
    Last Post: 20-05-2008, 06:02 PM
  5. Where to download ADSI SDK?
    By Adalia! in forum Active Directory
    Replies: 3
    Last Post: 24-02-2008, 08:51 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,726,416.78764 seconds with 17 queries