Skip to content

Instantly share code, notes, and snippets.

@BeanBagKing
Created February 26, 2016 14:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save BeanBagKing/219ff5a2fffaeee3e8d4 to your computer and use it in GitHub Desktop.
Save BeanBagKing/219ff5a2fffaeee3e8d4 to your computer and use it in GitHub Desktop.
REM Performs nslookup on a list of IP's
for /F %i in (iplist.txt) do @nslookup %i 8.8.8.8 2>nul | find "Name" && echo %i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment