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