How do I get a MAC address via command line?

The first one that comes to mind is GetMAC. Simply open a command prompt and type GetMAC and it will return your 48-bit MAC address in the following format:

Physical Address   Transport Name
================== ====================================================
00-40-CA-B5-5B-06 /Device/Tcpip_{B249BB63-9574-4061-817A-D62E1D12072F}

The next method of doing it is writing IPCONFIG /ALL

An interesting way to discover what MAC addresses you know of other people on your network is to type ARP -a in a command prompt