You can obtain the MAC address of a network card by IP address or Computer Name by using the GETMAC command.
To use this command, follow below mentioned steps
1. Open a command prompt (you must have administrator privileges).
2. You can use anyone of the following commands
GETMAC /s computername - Get MAC by Computer Name
GETMAC /s 192.168.1.1 – Get MAC by IP Address