November 7th, 2014

PowerTip: Use PowerShell to Find MAC Address

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 


Author

0 comments

Discussion are closed.