basic command to check logical address code example Example 1: how to know the ip address of my pc using cmd Click to copyipconfig/all Example 2: command line ip Click to copyipconfig -a