Ping Sweep a Network from Windows CMD Line

From a Microsoft OS command line interface, enter the following:

for /l %i in (1,1,254) do @ping -n 1 -w 100 <first three octets of host network>.%i

Also useful in ping sweep scenerios:

arp -a

Leave a Reply

Your email address will not be published. Required fields are marked *