(ipconfig | findstr [0-9].\.)[0]
(get-netadapter | get-netipaddress | ? addressfamily -eq 'IPv4').ipaddress
(ipconfig | findstr [0-9].\.)[0] -replace " IPv4 Address. . . . . . . . . . . : ",""