mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-02 10:54:45 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
33
tldr/windows/getmac
Normal file
33
tldr/windows/getmac
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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 /?`
|
||||
Reference in New Issue
Block a user