Getting MAC
One of the ways in which you can obtain the Media Access Control (MAC) address of your network adapter is to use the ipconfig /all command. Another method of obtaining the same information is to use the GetMAC.exe utility. Not only does it give you the MAC address, but also the protocols installed and the binding order. And... you can use the utility across the network, thereby eliminating the need for you to have to get up and physically sit at a computer on the network to get the information. The utility is available for download on Microsoft's Web site.
The general syntax for the command is as follows
Getmac.exe [/s Computer] [[/u Domain/User] [/p password]]
/s Computer specifies the computer name or the IP address of a computer. By default, the command will return the results for the local computer.
/u Domain:User specifies the context under which the command is run. By default, it uses the credentials of the user currently logged on.
/p Password Specifies the password of the user account included with the /u parameter.
For additional parameters and examples of how to use the command, go here.
