edit this page

Get-MacAddressVendor

SYNOPSIS

Mac Address vendor lookup.

SYNTAX

Get-MacAddressVendor [-MacAddress] <Object> [<CommonParameters>]

DESCRIPTION

This function uses Invoke-WebRequest to look up the vendor of a Mac Address’ Organizationally Unique Identifier (OUI). Works on PowerShell Core for Linux/macOS.

EXAMPLES

EXAMPLE 1

Get-MacAddressVendor -MacAddress '00-50-56-C0-00-01','00:0F:FE:E8:4F:27'

This example looks up the vendor for the two specified Mac Addresses.

EXAMPLE 2

Get-NetAdapter | Get-MacAddressVendor

This example looks up the vendor of all network adapters returned by Get-NetAdapter.

EXAMPLE 3

Get-NetAdapterConfig -ComputerName Server01.domain.local | Get-MacAddressVendor

This example looks up the vendor of all network adapters returned by Get-NetAdapterConfig which supports remoting.

EXAMPLE 4

Get-DhcpServerv4Lease -ComputerName DhcpServer -ScopeId 192.168.1.0 | Get-MacAddressVendor

This example looks up the vendor of all currently assigned address leases on a DHCP Server.

PARAMETERS

-MacAddress

Specifiy a MAC Address to look up

Type: Object
Parameter Sets: (All)
Aliases: ClientId, MA

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Management.Automation.PSObject

NOTES