- Open up cmd
- Run the following
for /L %z in (1,1,254) do @ping 10.0.0.%z -w 10 -n 1 | find "Reply"
Where:
- (1,1,254) indicates to test every address from 1-254
- 10.0.0. is the network address prefix of addresses you want to test
- %z is filled in with numbers from (1,1,254)
- -w 10 - only waits 10ms before moving on
- -n 1 - only tries once before moving on
- find "Reply" looks for a succesful ping result and ignores unsuccessful
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.