If oadaptcol is an array with the list of network adapters, (which it does), then how do I write the part that gives me an array that lists the ip addresses for an adapter with the "Win32_NetworkAdapter.NetworkAddresses" property and/or function?
oManager = Getobject("winmgmts:"
oadaptcol = oManager.InstancesOf("Win32_NetworkAdapter"
NetworkAddresses
Data type: string array
Access type: Read-only
Array of network addresses for an adapter. This property is inherited from CIM_NetworkAdapter.
Reference:
Thanks,
Stanley
oManager = Getobject("winmgmts:"
oadaptcol = oManager.InstancesOf("Win32_NetworkAdapter"
NetworkAddresses
Data type: string array
Access type: Read-only
Array of network addresses for an adapter. This property is inherited from CIM_NetworkAdapter.
Reference:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_networkadapter.asp
Thanks,
Stanley