Skip to content

Instantly share code, notes, and snippets.

@ohaal
Created September 12, 2016 11:10
Show Gist options
  • Save ohaal/d8771c28bc6a756d44e976cb4b76bd00 to your computer and use it in GitHub Desktop.
Save ohaal/d8771c28bc6a756d44e976cb4b76bd00 to your computer and use it in GitHub Desktop.
@REM Just run this in cmd replacing the IP
FOR /L %i IN (1,1,254) DO ping -n 1 192.168.10.%i | FIND /i "Reply">>c:\temp\ipaddresses.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment