0

I am looking for a simple script (that can be executed in windows platform) to ping all machines, and to write the IP of "On" machines (machines that'll reply) to a text file.

amazedsaint
  • 101
  • 1
  • 2

3 Answers3

6

nmap -sP

Performs a ping scan (host discovery), then print out the available hosts that responded to the scan. No further testing (such as port scanning or OS detection) is performed.

fpmurphy
  • 841
  • 6
  • 13
1

You can use fping, for example:

/usr/sbin/fping -g 192.168.1.0/24 -a

Will print all IPs answering to ping on the 192.168.1.0/24 network.

sagi
  • 707
  • 3
  • 9
  • 19
0

Try the following program Netscan, I think this will do what you want..

Ian Stewart
  • 116
  • 3