How to find the MAC address of the system using PowerShell?

There are several ways to find the MAC address (Physical Address) of the system using PowerShell.

Using the Get-NetAdapter command

Using this command, we can retrieve the MAC address of the network adapter.

Using GetMac command

Ipconfig command

We need to use Ipconfig /all to retrieve the mac address of all the adapters.


Ipconfig /all | Select-String -Pattern "Description","Physical"


Updated on: 09-Nov-2020

4K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started