Summary: Easily find your MAC address with Windows PowerShell.
How can I use Windows PowerShell to find the MAC address on my computer?
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
Get-NetAdapter | select Name,MacAddress
(PowerShell 3 on Windows 8/2012 and PowerShell 4 on Windows 8.1/2012R2)
You beat me to it, Tommy. 🙂
ipconfig /all will give it to you just as easily.
try to get MAC of printer 🙂
I need to collect all MAC and IP address of LAN. Is there any powershell script? I am not allowed to use any networking tools