Would you like to learn how to get the MAC address of an interface using Powershell? In this tutorial, we are going to show you how to use Powershell to list the MAC address of all network adapters.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Windows 10
• Windows 7

Equipment list

The following section presents the list of equipment used to create this tutorial.

As an Amazon Associate, I earn from qualifying purchases.

Related tutorial - PowerShell

On this page, we offer quick access to a list of tutorials related to PowerShell.

Tutorial Powershell - Get the MAC address of a network interface

As an Administrator, start an elevated Powershell command-line.

Windows 10 - powershell elevated

List all network adapters available.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Take note of the desired network interface index.

Get the MAC address of a network interface.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Get the MAC address of a network interface using its name.

Copy to Clipboard

Get the MAC address of all network adapters.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Get the MAC address of all network adapters that are Up.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Get the MAC address of all network adapters using CIM.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Optionally, filter the output to get specific information.

Copy to Clipboard

Get the MAC address of all network adapters using WMI.

Copy to Clipboard

Here is the command output.

Copy to Clipboard

Optionally, filter the output to get specific information.

Copy to Clipboard

Congratulations! You are able to list the MAC address of all network adapters using Powershell.