how to get mac adr code example Example 1: check laptop mac address type on command -> ipconfig/all Example 2: display mac address on cmd ipconfig/all