Giter Club home page Giter Club logo

get-macvendor's Introduction

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

get-macvendor's People

Contributors

tylwright avatar

Watchers

 avatar

get-macvendor's Issues

When searching by vendor, missing char if comma exists in name.

When using the search-by-vendor feature, if there is a comma in the returned vendor's name, it will do something weird with the character before it. Example:

PS C:\Users\tylwright\Documents\GitHub\Get-MACVendor> Get-MACVendor -Vendor VMware

Vendor: VMwar , Inc.

MAC Prefix  Vendor
----------  ------
00-50-56    VMwar , Inc.
00-05-69    VMwar , Inc.
00-1C-14    VMwar , Inc.
00-0C-29    VMwar , Inc.

Note how "VMwar , Inc." is shown instead of "VMware, Inc."

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.