find mac address in windows code example Example 1: check laptop mac address type on command -> ipconfig/all Example 2: display mac address on cmd ipconfig/all