Skip to content

Instantly share code, notes, and snippets.

@mikebranstein
Last active July 7, 2021 16:45
Show Gist options
  • Save mikebranstein/04f936e4d34f897215f909fada03e1db to your computer and use it in GitHub Desktop.
Save mikebranstein/04f936e4d34f897215f909fada03e1db to your computer and use it in GitHub Desktop.
Lookup IP address via ARP command on Windows
$ip = arp -a "$IPAddress" | Select-String $macAddress |% { $_.ToString().Trim().Split(" ")[0] }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment