The solution is very simple to find out a MAC address of a computer in the network!
Not only under MAC / Linux you can quickly find out the so-called MAC address of a computer in the network, this solution is also very easy under Windows to find out the MAC address of a computer, this is also under Windows 11/10 to Windows 7 / XP, as well possible on Microsoft Web Server 2019 up to retrospectively on Server 2003.
Please use the command getmac
Open / Start the existing cmd.exe, or start a Windows console program, such as the ColorConsole .
and for the command getmac please also use the /V parameter, then getmac will show you detailed information.
C: \>getmac /V
connection name network adapter physical. Address of transport
name ================================================== ==========
Ethernet Realtek PCIe GB Not applicable Hardware not available
WLAN Intel (R) Dual B 10-4A-7D-22-0E-48 Not applicable
vEthernet (Stan Hyper-V Virtual 36-15- 99-2B-F0-53 N / A
VirtualBox Host VirtualBox Host 0A-00-27-00-00-0E N / A
Here are the parameters from the getmac command!
C: \>getmac /?
GETMAC [/ S System [/ U Username [/ P [Password]]]] [/ FO Format] [/ NH] [/ V]
This program enables administrators to view the MAC address of a computer's network adapter.
System Remote system for connection establishment.
/U [domain \]
user Specifies the user context under which the command is executed.
Specifies the password for the user context. Omission prompts for password.
format Specifies the format in which the output is displayed. Valid values: "TABLE", "LIST" and "CSV".
Specifies that the column header does not appear in the output. Only applies to the TABLE and CSV formats.
Displays the detailed output.
Displays this help.
GETMAC /FO csv
GETMAC /S System /NH /V
GETMAC /S System /U User
GETMAC /S System /U Domain\User /P Password /FO list /V
GETMAC /S System /U Domain\User /P Password /FO table NH c:\>
FAQ 49: Updated on: 4 July 2021 13:38