Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox

Getmac command

From NetworkStuff


Image:preferences-system-windows-large.png

A command available at the command prompt on most Windows platforms; used to display the MAC address(es) of network adapters install in the system.

Contents

Image:Vm-power-on-medium.png Usage Syntax

getmac [/options]

Common options include;

  • /v - verbose output that includes 'friendly' names for network adapters
  • /fo [list | table | csv] - format output as a list, table or comma separated values

Image:Vm-power-on-medium.png Usage Examples

getmac /fo list /v - display verbose output in a list format

Image:utilities-terminal-medium.png Typical Output

getmac /fo list /v

Connection Name:  Local Area Connection
Network Adapter:  Intel(R) PRO/1000 PL Network Connection
Physical Address: 01-16-F3-B6-CF-D6
Transport Name:   \Device\Tcpip_{C11F2DBF-0541-FF41-B0DE-5B599FFE75ED}
Connection Name:  AGN Virtual Network Adapter
Network Adapter:  AGN Virtual Network Adapter
Physical Address: Disabled
Transport Name:   Disconnected
Connection Name:  Wireless Network Connection
Network Adapter:  Intel(R) PRO/Wireless 3945ABG Network Connection
Physical Address: Disabled
Transport Name:   Disconnected

Image:icemon-medium.png Related Commands

The ipconfig command can also be used to display MAC addresses as well as IP addresses when used with the /all parameter

Image:object-flip-horizontal-medium.png Command Equivalents

The Linux command equivalent is the ifconfig command

Image:icemon-medium.png Related Articles

Information on other Windows commands

Information on Cisco commands Image:Cisco-logo-small.png

Information on Vyatta commands Image:Vyatta-logo-small.png

Information on Extreme commands Image:Extreme-logo-small.png

Information on Linux commands Image:Tux-small.png

Information on F5 BigIP commands Image:F5-logo-small.png

Information on Blue Coat SGOS commands

Information on Nokia IPSO commands


Image:internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to steve#networkstuff.eu (replacing the # with an @)



Site Toolbox:

Personal tools
This page was last modified on 24 July 2008, at 09:43. - Disclaimers - About NetworkStuff
Powered by MediaWiki