CMD Ping Sweep

Here is an awesome Windows ping sweep command combo I found recently:

FOR /L %i in (1,1,255) do @ping -n -w 200 1 192.168.1.%i | find “Reply” >> C:\Ping_Sweep_Results.txt

Advertisements

2 comments

  1. Awesome indeed. That should be in a batch file on every sysadmin’s desktop.

  2. […] of Youfoobar, here’s the best Windows command-line one-liner I’ve seen in a very long time. If you […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: