NetAdapterHardwareInfoSettingData - WMI sample in VBScript
The foundations for Manageability in Windows 2019/2012/2008/ and Windows 10/8/7/Vista/XP are Windows Management Instrumentation (WMI; formerly WBEM) and WMI extensions for Windows Driver Model (WDM).
ActiveXperts Network Monitor provides the ability to build monitor check routines based on WMI. ActiveXperts has collected more than a hundred WMI samples. You can use these samples as a base for new check routines you can write yourself.
On this site, you can find many WMI samples.
The NetAdapterHardwareInfoSettingData WMI class can be used in ActiveXperts Network Monitor to monitor your servers.
NetAdapterHardwareInfoSettingData
Example(s)
Set objWMIService = GetObject("winmgmts:\\.\root\StandardCimv2") Set colItems = objWMIService.ExecQuery("Select * From MSFT_NetAdapterHardwareInfoSettingData") For Each objItem in colItems WScript.Echo "BusNumber:" & objItem.BusNumber WScript.Echo "Caption:" & objItem.Caption WScript.Echo "Description:" & objItem.Description WScript.Echo "DeviceNumber:" & objItem.DeviceNumber WScript.Echo "Dma64BitSupported:" & objItem.Dma64BitSupported WScript.Echo "ElementName:" & objItem.ElementName WScript.Echo "FunctionNumber:" & objItem.FunctionNumber WScript.Echo "InstanceID:" & objItem.InstanceID WScript.Echo "InterfaceDescription:" & objItem.InterfaceDescription WScript.Echo "LineBasedInterrupts:" & objItem.LineBasedInterrupts WScript.Echo "LineBasedInterruptSupported:" & objItem.LineBasedInterruptSupported WScript.Echo "LocationInformationString:" & objItem.LocationInformationString WScript.Echo "MaxInterruptMessages:" & objItem.MaxInterruptMessages WScript.Echo "MsiEnabled:" & objItem.MsiEnabled WScript.Echo "MsiInterruptSupported:" & objItem.MsiInterruptSupported WScript.Echo "MsiSupported:" & objItem.MsiSupported WScript.Echo "MsiXEnabled:" & objItem.MsiXEnabled WScript.Echo "MsiXInterruptSupported:" & objItem.MsiXInterruptSupported WScript.Echo "MsixMessageAffinityArray:" & Join(objItem.MsixMessageAffinityArray) WScript.Echo "MsiXSupported:" & objItem.MsiXSupported WScript.Echo "Name:" & objItem.Name WScript.Echo "NoInterrupt:" & objItem.NoInterrupt WScript.Echo "NumaNode:" & objItem.NumaNode WScript.Echo "NumMsiMessages:" & objItem.NumMsiMessages WScript.Echo "NumMsixTableEntries:" & objItem.NumMsixTableEntries WScript.Echo "PciCurrentSpeedAndMode:" & objItem.PciCurrentSpeedAndMode WScript.Echo "PciDeviceLabelID:" & objItem.PciDeviceLabelID WScript.Echo "PciDeviceLabelString:" & objItem.PciDeviceLabelString WScript.Echo "PciDeviceType:" & objItem.PciDeviceType WScript.Echo "PciExpressCurrentLinkSpeedEncoded:" & objItem.PciExpressCurrentLinkSpeedEncoded WScript.Echo "PciExpressCurrentLinkWidth:" & objItem.PciExpressCurrentLinkWidth WScript.Echo "PciExpressCurrentPayloadSize:" & objItem.PciExpressCurrentPayloadSize WScript.Echo "PciExpressMaxLinkSpeedEncoded:" & objItem.PciExpressMaxLinkSpeedEncoded WScript.Echo "PciExpressMaxLinkWidth:" & objItem.PciExpressMaxLinkWidth WScript.Echo "PciExpressMaxPayloadSize:" & objItem.PciExpressMaxPayloadSize WScript.Echo "PciExpressMaxReadRequestSize:" & objItem.PciExpressMaxReadRequestSize WScript.Echo "PciExpressVersion:" & objItem.PciExpressVersion WScript.Echo "PciXCurrentSpeedAndMode:" & objItem.PciXCurrentSpeedAndMode WScript.Echo "S0WakeupSupported:" & objItem.S0WakeupSupported WScript.Echo "SegmentNumber:" & objItem.SegmentNumber WScript.Echo "SlotNumber:" & objItem.SlotNumber WScript.Echo "Source:" & objItem.Source WScript.Echo "SriovSupport:" & objItem.SriovSupport WScript.Echo "SystemName:" & objItem.SystemName WScript.Echo "" WScript.Echo "########" WScript.Echo "" Next