ping all ip on lan / subnet

FOR /L %i IN (1,1,254) DO ping -n 1 192.168.1.%i | FIND /i “Reply”>>c:\ipaddresses.txt

 

it will write to ipaddress.txt on c drive, replace 192.168.1 to your own

You may also like...