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