the line you posted.

$NICs = GetObject("winmgmts:").InstancesOf("Win32_NetworkAdapterConfiguration")

works correct with Kix.

This is bit of code is using the WMI COM interface to work with the network cards on a computer.

code:
$NICs = GetObject("winmgmts:").InstancesOf("Win32_NetworkAdapterConfiguration")

for each $nic in $nics
?"-------------------------------------------"
? $nic.index
? $nic.description
? $nic.macaddress
? $nic.ipaddress(0)
next

Bryce