Another small function from me today. And another one that I can’t take credit for. I found this one on poshcode, and just did some minor tweaking to it. It sends an ARP request to get the MAC address from an IPv4 address.

2 comments

  1. Hey, how are you doing old friend?
    Since PowerShell 4.0 (Windows 8.1 / Server 2012 R2), there is a cmdlet called “Get-NetAdapater”. It returns all network information from the local adapters that are currently present on the machine. It also has a -CimSession parameter that can be used to query information remotely 😉

    Like

    1. Hey. I’m doing fine thank you 🙂 I realised after the fact, that I should perhaps have given the function another name. It was really written to be able to discover MAC addresses using ARP, so you can get the MAC of for instance network equipment etc.

      Liked by 1 person

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s