Is there an easy way in powershell 3.0 Windows 7 to get the local computer\'s ipv4 address into a variable?
$a = ipconfig $result = $a[8] -replace "IPv4 Address. . . . . . . . . . . :",""
Also check which index of ipconfig has the IPv4 Address