PDA

View Full Version : Why do I not have getmac?


EZ_ColvinCozener
12-05-03, 08:03 AM
Just discovered there is a 'getmac' command line command, but it seems I don't have it(XP home). Is it not part of XP core?

To save the time of anyone trying to be helpful, I do know of other ways to get mac address, so don't worry about trying to post them, but thanks for the thought.

EZ_Barrister
12-05-03, 11:57 AM
Pretty sure that command is only in the windows XP Pro version.

EZ_InvisiBill
12-05-03, 02:40 PM
Hmmm, I've never even heard of this util before, but it could be handy...

Quote:GETMAC [/S system [/U username [/P [password]]]] [/FO format] [/NH] [/V]

Description:
This command line tool enables an administrator to display the MAC
address for one or more network adapters on a system.

Parameter List:
/S system Specifies the remote system to connect to.

/U [domain\]user Specifies the user context under
which the command should execute.

/P [password] Specifies the password for the given
user context. Prompts for input if omitted.

/FO format Specifies the format in which the output
is to be displayed.
Valid values: "TABLE", "LIST", "CSV".

/V Specifies that the detailed information
should be displayed in the output.

/NH Specifies that the "Column Header" should
not be displayed in the output.
Valid only for TABLE and CSV formats.

/? Displays this help/usage.

Examples:
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

Most likely, you can simply copy the file from an XP Pro installation and it will work just fine in Home. It's probably just not included, as most home users don't have any need to check other systems' MAC addresses, besides the fact that XP Home can't join a domain...