PowerTip: Use PowerShell to Find MAC Address

ScriptingGuy1

Summary: Easily find your MAC address with Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to find the MAC address on my computer?

Hey, Scripting Guy! Answer Use the Getmac command-line reference.

-or-

Use WMI, for example:

Get-WmiObject win32_networkadapterconfiguration | select description, macaddress

Get-CimInstance win32_networkadapterconfiguration | select description, macaddress 


0 comments

Discussion is closed.

Feedback usabilla icon