2018-11-21 12:26:39 +00:00
|
|
|
# getmac
|
|
|
|
|
|
|
|
> Display the MAC addresses of a system.
|
2022-10-04 16:06:23 +01:00
|
|
|
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/getmac>.
|
2018-11-21 12:26:39 +00:00
|
|
|
|
|
|
|
- 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`
|
|
|
|
|
2024-01-30 04:55:24 +00:00
|
|
|
- Display help:
|
2018-11-21 12:26:39 +00:00
|
|
|
|
|
|
|
`getmac /?`
|