I am looking for a script which can read a .txt file with a list of IP
addreses and fetch me the hostnames. Ideally the output format should be "IP:
xxx.xxx.xxx.xxx Host Name: ABCXXX". Could someone help me please?
I may not have admin access on some of the boxes, the script I am looking
for should work in these conditions as well. At the moment, I am using very
rudimentary method of writing a batch file with several entries of Ping -a
xxx.xxx.xxx.xxx >> output.txt which I have to massage it to get the desired
result.
Bookmarks