snippetbashTip
getmac — Display the MAC addresses of a system. More information: <https://learn.microsoft.com/windows-server
Viewed 0 times
thecommandaddressesmaccligetmacdisplaysystem
windows
Problem
How to use the
getmac command: Display the MAC addresses of a system. More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/getmac>.Solution
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:
getmacDisplay the details in a specific format:
getmac /fo {{table|list|csv}}Exclude the header in the output list:
getmac /nhDisplay the MAC addresses for a remote machine:
getmac /s {{hostname}} /u {{username}} /p {{password}}Display the MAC addresses with verbose information:
getmac /vDisplay help:
getmac /?Code Snippets
Display the MAC addresses for the current system
getmacDisplay the details in a specific format
getmac /fo {{table|list|csv}}Exclude the header in the output list
getmac /nhDisplay the MAC addresses for a remote machine
getmac /s {{hostname}} /u {{username}} /p {{password}}Display the MAC addresses with verbose information
getmac /vContext
tldr-pages: windows/getmac
Revisions (0)
No revisions yet.