Hello again.

I'm having trouble finding out the IP-Address of a workstation that i connect remotley.
Is there a way to pinpoint the IP-Address a computer uses via WMI?
When i'm reading out the IP-Addresses in Win32_NetworkAdapterConfiguration i'm not able to determine the right Address because there can be an address for both the built in adapter and for WLAN, and, especially on the computer i'm making the script there are 5 Adapters that say "Ethernet 802.3", so it's not possible for me to determine which Adapter is the right one and where i can get it from.
I'm thinking about making a ping on the hostname and extracting the IP from there, but there has to be an easier way...

Does anyone know what i can do there to make it possible via WMI?

greets
meta
_________________________
-=If you absolutly believe you can make up talent with hard work, there is no limit to what you can't achieve.=-