getmac
Display the MAC addresses of a system. More information: https://learn.microsoft.com/windows-server/administration/windows-commands/getmac.
-
Display the MAC addresses for the current system:
getmac
-
Display the details in a specific format:
getmac /fo {{table|list|csv}}
-
Exclude the header in the output list:
getmac /nh
-
Display the MAC addresses for a remote machine:
getmac /s {{hostname}} /u {{username}} /p {{password}}
-
Display the MAC addresses with verbose information:
getmac /v
-
Display detailed usage information:
getmac /?
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.