View NetBios Name on command line
Run the following command to find the netbios name of a domain.
dsquery * cn=partitions,cn=configuration,dc=myrootdns2003,dc=com -filter "(&(objectcategory=crossref)(dnsroot=myrootdns2003.com))" -attr netbiosname
adfind tool can also be used to find netbios name of a domain.
adfind -b cn=partitions,cn=configuration,dc=myrootdns2003,dc=com -f "(&(objectcategory=crossref)(dnsroot=myrootdns2003.com))" cn netbiosname
dsquery * cn=partitions,cn=configuration,dc=myrootdns2003,dc=com -filter "(&(objectcategory=crossref)(dnsroot=myrootdns2003.com))" -attr netbiosname
adfind -b cn=partitions,cn=configuration,dc=myrootdns2003,dc=com -f "(&(objectcategory=crossref)(dnsroot=myrootdns2003.com))" cn netbiosname
0 comments:
Post a Comment