The the following vbscript example will quickly allow you to use Win32_NetworkAdapterConfiguration to capture/enumerate interface settings where IPEnabled = TRUE. The output of this example is easy to read. To launch, type cscript enumerate_interface_information.vbs. Take this script and do what you want with it. Simply stated, its a great example on how to tool around with the win32_networkadapterconfiguration and only gather info on interface cards that are enabled and currently hold ip addresses.
Naturally this site is not of english toolbag but think of it as angst. cheers fellow scriptors.
| Attachment | Size |
|---|---|
| enumerate-interface-card-settings.txt | 848 bytes |