Forrest logo
back to the getmac tool

getmac:tldr:d7c2d

getmac: Exclude the header in the output list.
$ getmac /nh
try on your machine

The command "getmac /nh" is used in Windows operating systems to retrieve the Media Access Control (MAC) addresses of network adapters. Here is the breakdown:

  • "getmac": This is the command-line utility used to retrieve the MAC addresses.
  • "/nh": This is a switch or parameter used to exclude the table headers from the output. It stands for "No Headers."

By running "getmac /nh" in the command prompt or PowerShell, you will receive a list of MAC addresses for all network adapters on your computer without any additional information such as interface name, connection name, etc.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the getmac tool