Last active
July 7, 2021 16:45
-
-
Save mikebranstein/04f936e4d34f897215f909fada03e1db to your computer and use it in GitHub Desktop.
Lookup IP address via ARP command on Windows
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$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