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.
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.
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.
I hope this will help you somehow.dsquery * -filter "(objectCategory=computer)" -attr dNSHostName, distinguishedName
Thanks for reply. I got the way to get the FQDN. I used "DNSHostName" Property to do the same.
Bookmarks