Quantcast
Channel: Hey, Scripting Guy! Blog
Viewing all articles
Browse latest Browse all 3333

PowerTip: Use PowerShell to Find MAC Address

$
0
0

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 



Viewing all articles
Browse latest Browse all 3333

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>