I'm looking to get the Bytes per/sec from a specific NIC, right now i'm
pulling BytesTotalPersec from
Win32_PerfFormattedData_TCPIP_NetworkInterface. This works great, but it
brings back all NICs, how do i choose which NIC I want?
My code is:
Set ColItems = objWMIService.ExecQuery("Select BytesTotalPersec from
Win32_PerfFormattedData_TCPIP_NetworkInterface")
For Each objItems in colItems
Wscript.Echo "Network Bandwidth: " & objItems.BytesTotalPersec
Next
Thanks
Glenn