Monday, December 5, 2011

PowerShell Script to Get MAC Address from ARP Cache



I was inspired by Shay in his blog post about obtaining a MAC Address.

I wanted something a little more purposeful so I extended it a bit.  Enjoy.



2 comments:

  1. Hi, you should change

    #"Searching by IP Address"

    $ip = $ip

    to

    #"Searching by IP Address"

    $ip = $device


    regards

    ReplyDelete
  2. Hector - thanks for the feedback. I have incorporated the fix. I didn't notice that until you pointed it out.

    ReplyDelete