Skip to content

tylwright/Get-MACVendor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Get-MACVendor

Build Status

Description

This PowerShell module searches the IEEE's database of vendors/MAC addresses to find the vendor of your query (given MAC address). As of v0.4, you can also find MACs registered to a vendor.

How to use

Import-Module ./Get-MACVendor.psm1

Return vendor assigned to MAC address

Input:

Get-MACVendor -MAC 00:12:23:45:54:32
Get-MACVendor -MAC 00:12:23
Get-MACVendor -MAC 00-12-23
Get-MACVendor -MAC 001223

Output:

Pixim

Return MAC address(es) assigned to vendor

Input:

Get-MACVendor -Vendor iRobot

Output:

Vendor: iRobot Corporation

MAC Prefix  Vendor
----------  ------
50-14-79    iRobot Corporation

1 result

Input:

Get-MACVendor -Vendor Sonos

Output:

Vendor: SONOS Co., Ltd.

MAC Prefix  Vendor
----------  ------
00-04-3C    SONOS Co., Ltd.


Vendor: Sonos, Inc.

MAC Prefix  Vendor
----------  ------
5C-AA-FD    Sonos, Inc.
00-0E-58    Sonos, Inc.
94-9F-3E    Sonos, Inc.
B8-E9-37    Sonos, Inc.
78-28-CA    Sonos, Inc.
34-7E-5C    Sonos, Inc.


Vendor: SonoSite, Inc.

MAC Prefix  Vendor
----------  ------
00-08-FB    SonoSite, Inc.

8 results

Downloading/Updating the OUI list

Get-MACVendor -Action Update

The module will pull a fresh version of the OUI list from http://standards-oui.ieee.org/oui.txt.

Requirements

In order to use this module, please keep the file vendors.txt in the same directory. This file contains the relationships between certain MAC addresses and vendors. You may update the file with: Get-MACVendor -Action Update.

Unit Tests

In order to perform unit tests, you'll need Pester.

Install-Module -Name Pester -Force -SkipPublisherCheck
Invoke-Pester

About

PowerShell module to find the vendor of a given MAC address

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published