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

0 0 votes
Article Rating

You may also like...

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x