I am looking for a script to output a CSV which will return the;
input, Machine Name, DNS Server 1, DNS Server 2, DHCP Status (enabled / disabled)
The input would be a list of machines from a text file, either an IP address or a Machine name.
I need to run this against a lot of machines and therefore need some way of recording machines that cannot be Ping'ed / contacted so I can deal with them later. Perhaps just creating a list of failed machines?
Any help would be great!