This is easily achieved with a simple batch script. Before creating the batch create a text document and name it "pcs.txt" and add the list of IPs to this file. Now create a batch file with the following lines of code:
echo. > ping.txt
for /f %%a in (pcs.txt) do ( ping -n 1 %%a) >> ping.txt
This simple code will do a ping on every IP on the file pcs.txt and it will save the results to a file called "ping.txt" that will be automatically created when running the batch file on the same folder as the batch file.
It will only send one test packet to every IP. If the default of 4 packets sent is needed remove this part of the code "-n 1", and if a custom number of packets is needed modify this "-n 1" with "-n X" where the X is the amount of packets to be sent.
If you only have the computer names and want to know the IP address but don't want to see all the other information of the ping use the following code:
echo. > ping.txtecho. > ping.txt
for /f %%a in (pcs.txt) do ( ping -n 1 %%a) | FIND /i "Pinging">> ping.txt
The command FIND /i "Pinging" will search for the word pinging and copy only that line to the file name ping.txt