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.
List all network adapters available.
Here is the command output.
Take note of the desired network interface index.
Get the MAC address of a network interface.
Here is the command output.
Get the MAC address of a network interface using its name.
Get the MAC address of all network adapters.
Here is the command output.
Get the MAC address of all network adapters that are Up.
Here is the command output.
Get the MAC address of all network adapters using CIM.
Here is the command output.
Optionally, filter the output to get specific information.
Get the MAC address of all network adapters using WMI.
Here is the command output.
Optionally, filter the output to get specific information.
Congratulations! You are able to list the MAC address of all network adapters using Powershell.