how to get ip address of laptop in cmd code example Example: how to know the ip address of my pc using cmd ipconfig/all