Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI MSSerial_HardwareConfiguration QueryContent of WMI MSSerial_HardwareConfiguration Query.jsMD5 Hash: 1C70C3FE4E9D61F1652C00DAB7C0A135 |
||
var wbemFlagReturnImmediately = 0x10;
var wbemFlagForwardOnly = 0x20; var arrComputers = new Array("."); for (i = 0; i < arrComputers.length; i++) { WScript.Echo(); WScript.Echo("=========================================="); WScript.Echo("Computer: " + arrComputers[i]); WScript.Echo("=========================================="); var objWMIService = GetObject("winmgmts:\\\\" + arrComputers[i] + "\\root\\WMI"); var colItems = objWMIService.ExecQuery("SELECT * FROM MSSerial_HardwareConfiguration", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); var enumItems = new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) { var objItem = enumItems.item(); WScript.Echo("Active: " + objItem.Active); WScript.Echo("BaseIOAddress: " + objItem.BaseIOAddress); WScript.Echo("InstanceName: " + objItem.InstanceName); WScript.Echo("InterruptType: " + objItem.InterruptType); WScript.Echo("IrqAffinityMask: " + objItem.IrqAffinityMask); WScript.Echo("IrqLevel: " + objItem.IrqLevel); WScript.Echo("IrqNumber: " + objItem.IrqNumber); WScript.Echo("IrqVector: " + objItem.IrqVector); } } | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |