how get mac address code example Example 1: display mac address on cmd ipconfig/all Example 2: where to find the mac address from ipconfig /all type on command -> ipconfig/all