Forrest logo
tool overview
On this page you find all important commands for the CLI tool getmac. If the command you are looking for is missing please ask our AI.


The "getmac" command line tool is a built-in utility in Windows operating systems. It allows users to retrieve the Media Access Control (MAC) address of a network adapter installed on their system. MAC addresses are unique identifiers assigned to network interfaces, such as Ethernet or Wi-Fi adapters.

By running "getmac" in the command prompt, users can obtain the MAC addresses of all the network adapters present on their computer. The tool displays the MAC address along with the associated network adapter name. This information can be useful in various networking and troubleshooting scenarios, such as identifying and configuring network devices or diagnosing network connectivity issues.

The "getmac" command also offers additional options, such as filtering the output to display only specific MAC addresses or querying remote computers on the network to retrieve their MAC addresses. The tool uses Windows Management Instrumentation (WMI) to gather the necessary information about network adapters.

Furthermore, the "getmac" command requires administrative privileges to run successfully since it accesses low-level networking information. It is available on Windows XP and above versions, including Windows 10. Overall, "getmac" is a straightforward and handy command line tool for obtaining MAC addresses on Windows systems.

List of commands for getmac:

tool overview