Loading |
VBScript |
JavaScript |
Powershell |
Search Options: WMI Win32_PerfRawData_RSVP_RSVPInterfaces QueryContent of WMI Win32_PerfRawData_RSVP_RSVPInterfaces Query.jsMD5 Hash: CC6BAA0111B24ABCFC16210FB379072E |
||
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\\CIMV2"); var colItems = objWMIService.ExecQuery("SELECT * FROM Win32_PerfRawData_RSVP_RSVPInterfaces", "WQL", wbemFlagReturnImmediately | wbemFlagForwardOnly); var enumItems = new Enumerator(colItems); for (; !enumItems.atEnd(); enumItems.moveNext()) { var objItem = enumItems.item(); WScript.Echo("BlockedRESVs: " + objItem.BlockedRESVs); WScript.Echo("Caption: " + objItem.Caption); WScript.Echo("Description: " + objItem.Description); WScript.Echo("Frequency_Object: " + objItem.Frequency_Object); WScript.Echo("Frequency_PerfTime: " + objItem.Frequency_PerfTime); WScript.Echo("Frequency_Sys100NS: " + objItem.Frequency_Sys100NS); WScript.Echo("Generalfailures: " + objItem.Generalfailures); WScript.Echo("Maximumadmittedbandwidth: " + objItem.Maximumadmittedbandwidth); WScript.Echo("Name: " + objItem.Name); WScript.Echo("Numberofactiveflows: " + objItem.Numberofactiveflows); WScript.Echo("Numberofincomingmessagesdropped: " + objItem.Numberofincomingmessagesdropped); WScript.Echo("Numberofoutgoingmessagesdropped: " + objItem.Numberofoutgoingmessagesdropped); WScript.Echo("PATHERRmessagesreceived: " + objItem.PATHERRmessagesreceived); WScript.Echo("PATHERRmessagessent: " + objItem.PATHERRmessagessent); WScript.Echo("PATHmessagesreceived: " + objItem.PATHmessagesreceived); WScript.Echo("PATHmessagessent: " + objItem.PATHmessagessent); WScript.Echo("PATHstateblocktimeouts: " + objItem.PATHstateblocktimeouts); WScript.Echo("PATHTEARmessagesreceived: " + objItem.PATHTEARmessagesreceived); WScript.Echo("PATHTEARmessagessent: " + objItem.PATHTEARmessagessent); WScript.Echo("Policycontrolfailures: " + objItem.Policycontrolfailures); WScript.Echo("ReceivemessageserrorsBigmessages: " + objItem.ReceivemessageserrorsBigmessages); WScript.Echo("ReceivemessageserrorsNomemory: " + objItem.ReceivemessageserrorsNomemory); WScript.Echo("Reservedbandwidth: " + objItem.Reservedbandwidth); WScript.Echo("Resourcecontrolfailures: " + objItem.Resourcecontrolfailures); WScript.Echo("RESVCONFIRMmessagesreceived: " + objItem.RESVCONFIRMmessagesreceived); WScript.Echo("RESVCONFIRMmessagessent: " + objItem.RESVCONFIRMmessagessent); WScript.Echo("RESVERRmessagesreceived: " + objItem.RESVERRmessagesreceived); WScript.Echo("RESVERRmessagessent: " + objItem.RESVERRmessagessent); WScript.Echo("RESVmessagesreceived: " + objItem.RESVmessagesreceived); WScript.Echo("RESVmessagessent: " + objItem.RESVmessagessent); WScript.Echo("RESVstateblocktimeouts: " + objItem.RESVstateblocktimeouts); WScript.Echo("RESVTEARmessagesreceived: " + objItem.RESVTEARmessagesreceived); WScript.Echo("RESVTEARmessagessent: " + objItem.RESVTEARmessagessent); WScript.Echo("SendmessageserrorsBigmessages: " + objItem.SendmessageserrorsBigmessages); WScript.Echo("SendmessageserrorsNomemory: " + objItem.SendmessageserrorsNomemory); WScript.Echo("Signalingbytesreceived: " + objItem.Signalingbytesreceived); WScript.Echo("Signalingbytessent: " + objItem.Signalingbytessent); WScript.Echo("Timestamp_Object: " + objItem.Timestamp_Object); WScript.Echo("Timestamp_PerfTime: " + objItem.Timestamp_PerfTime); WScript.Echo("Timestamp_Sys100NS: " + objItem.Timestamp_Sys100NS); } } | ||
© 2008 - 2013 Boris Toll :: Scripts available: 6.481 :: :: scriptbox.toll.at :: :: powered by www.toll.at :: |