windows cmd look up ip by machine name code example Example: windows check ip address cmd ipconfig/all