Can someone help me figure out how to script getting a computer ip address. I know there's several vbscripts out there, but our case is a bit different.
Most of our servers have two nics, both enabled, but only one with a valid static ip address, the other 0.0.0.0. How can I retrieve only the valid ip address and store it. And it varies which nic is the valid one, sometimes nic 1 sometimes nic 2
This would be run locally from the computer.