Member-only story

MAC Address Lookups Using PowerShell and macvendors.com

Mark Harwood

--

I used to find it very tedious to lookup MAC addresses manually. I’d have a ton to work through so I had to find a way to automate the process.

Luckily, I found that my good ol’ friend PowerShell could be used in conjunction with a free API provided by macvendors.com. This allowed for MAC addresses to be saved into CSV files and worked through in batches.

I’ve noticed that this post is starting to gain more traffic, so I’ve decided to come back and rework it. Sorry if it’s changed a lot since you last checked it out! — 27th Dec 2024

Before we start, you can also read this article on my website!

Introduction

If you haven’t seen or heard of macvendors.com before, it’s a super simple website that also exposes an API that allows for easy MAC address lookups. You can see the website below:

The task I was trying to automate was simple:

  1. Get a system (laptop/desktop) that was ready for destruction
  2. Search the MAC address online to find out the manufacturer info
  3. Add it to a list and document the system

Whilst I am simplifying this quite a bit, this is essentially what I had to do.

--

--

No responses yet