Browsing articles from "February, 2017"
Feb
23
2017
Tips 23 Feb 2017

Ping a range of IPs

C:\>for /l %i in (1,1,254) do @ping 192.168.1.%i -n 1 -w 100 | find “Reply” This will ping all addresses from 192.168.1.1 to 192.168.1.254 one time each, wait 100ms for a reply (more than enough time on a local network) and show only the addresses that replied. Syntax for FOR /L is (start,step,end) if you want to change the range. Also, note that the Windows FIND is case sensitive, so make sure you capitalize “Reply,” or else use the /i switch or just “eply.”