< Back

Get-MACVendor

Sat Jan 18, 2020 9:53 am

NAME Get-MACVendor



SYNOPSIS

Returns the vendor of a given MAC address, or returns the MAC prefix(s) for a given vendor





SYNTAX

Get-MACVendor [-MAC] <String[]> [<CommonParameters>]



Get-MACVendor [-Vendor] <String> [<CommonParameters>]





DESCRIPTION

Takes an inputted MAC address, or MAC address prefix in a variety of different formats and returns

the assined vendor of the MAC address based on the OUI list published by the IEEE. It can also take

an inputted MAC address vendor, and return all of its assigned MAC address prefixes.





PARAMETERS

-MAC <String[]>

The MAC(s) or MAC prefix(s) you wish to get the vendor name for. Accepts various different formats:

- 123ABC

- 123456ABCDEF

- 12.3A.BC

- 12.34.56.AB.DC.EF

- 12-3A-BC

- 12-34-56-AB-CD-EF

- 1234-56AB-CDEF

- 1234.56AB.CDEF



Required? true

Position? 1

Default value

Accept pipeline input? true (ByValue)

Accept wildcard characters? false



-Vendor <String>

The name of the vendor you wish to recieve assined MAC prefixes for.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS>Get-MACVendor -MAC '0007B3','DC86D8','001377','94EB2C','B84FD5'



MACPrefix MACVendor

--------- ---------

0007B3 Cisco

DC86D8 Apple

001377 Samsung

94EB2C Google

B84FD5 Microsoft









-------------------------- EXAMPLE 2 --------------------------



PS>'0007B3','DC86D8','001377','94EB2C','B84FD5' | Get-MACVendor



MACPrefix MACVendor

--------- ---------

0007B3 Cisco

DC86D8 Apple

001377 Samsung

94EB2C Google

B84FD5 Microsoft









-------------------------- EXAMPLE 3 --------------------------



PS>Get-MACVendor -Vendor 'OnePlus'



MACPrefix MACVendor

--------- ---------

94652D OnePlus

C0EEFB OnePlus

64A2F9 OnePlus











RELATED LINKS