1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/windows/getmac.md
Vitor Henrique 46a054215a
pages*: make help and version commands comply with the style guide (#12107)
* pages*: use generic word for help

* git: add newline to the end

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>

* pages*: make help and version commands comply with the style guide

* java: fix Java name

---------

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-01-30 12:55:24 +08:00

28 lines
560 B
Markdown

# 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 help:
`getmac /?`