ipconfig.exe
and findstr.exe
allows to find a machine's IP address on the command line: C:\> ipconfig.exe | findstr.exe /r /c:"^ IPv[0-9] Address" IPv6 Address. . . . . . . . . . . : 2001:0db8:85a3:0000:0000:8a2e:0370:7334 IPv4 Address. . . . . . . . . . . : 192.168.0.160