Win32_PerfFormattedData_DlxPerf powershell sample code
The foundations for Manageability in Windows is 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. The Win32_PerfFormattedData_DlxPerf WMI class can be used in ActiveXperts Network Monitor to monitor your servers.
Sample Code
$strComputer = "." $objWMi = get-wmiobject -computername localhost -Namespace root\CIMV2 -Query "Select * from Win32_PerfFormattedData_DlxPerf_LCDLX00AddressBookandDistributionListExpansion" foreach ($obj in $objWmi) { write-host "Caption:" $obj.Caption write-host "Description:" $obj.Description write-host "DLX000Validinputrequests:" $obj.DLX000Validinputrequests write-host "DLX001ValidinputrequestsPersec:" $obj.DLX001ValidinputrequestsPersec write-host "DLX002Averageprocessingtimeforavalidrequestsinmilliseconds:" $obj.DLX002Averageprocessingtimeforavalidrequestsinmilliseconds write-host "DLX004PendingRequeststhatfetchSecurityDescriptors:" $obj.DLX004PendingRequeststhatfetchSecurityDescriptors write-host "DLX005AverageSecurityDescriptorfetchtimeinmilliseconds:" $obj.DLX005AverageSecurityDescriptorfetchtimeinmilliseconds write-host "DLX007PendingAuthorizationRequests:" $obj.DLX007PendingAuthorizationRequests write-host "DLX008Averageauthorizationprocessingtimeinmilliseconds:" $obj.DLX008Averageauthorizationprocessingtimeinmilliseconds write-host "DLX010PendingRequeststhatfetchmemberproperties:" $obj.DLX010PendingRequeststhatfetchmemberproperties write-host "DLX011Averagememberpropertiesfetchtimeinmilliseconds:" $obj.DLX011Averagememberpropertiesfetchtimeinmilliseconds write-host "DLX013Passedauthorizations:" $obj.DLX013Passedauthorizations write-host "DLX014PassedauthorizationsPersec:" $obj.DLX014PassedauthorizationsPersec write-host "DLX015Invalidinputrequests:" $obj.DLX015Invalidinputrequests write-host "DLX016InvalidinputrequestsPersec:" $obj.DLX016InvalidinputrequestsPersec write-host "DLX017TimedoutRequeststhatfetchSecurityDescriptors:" $obj.DLX017TimedoutRequeststhatfetchSecurityDescriptors write-host "DLX018TimedoutRequeststhatfetchSecurityDescriptorsPersec:" $obj.DLX018TimedoutRequeststhatfetchSecurityDescriptorsPersec write-host "DLX019Failedauthorizations:" $obj.DLX019Failedauthorizations write-host "DLX020FailedauthorizationsPersec:" $obj.DLX020FailedauthorizationsPersec write-host "DLX021TimedoutRequeststhatfetchmemberproperties:" $obj.DLX021TimedoutRequeststhatfetchmemberproperties write-host "DLX022TimedoutRequeststhatfetchmemberpropertiesPersec:" $obj.DLX022TimedoutRequeststhatfetchmemberpropertiesPersec write-host "DLX023SoapExceptions:" $obj.DLX023SoapExceptions write-host "DLX024SoapexceptionsPersec:" $obj.DLX024SoapexceptionsPersec write-host "DLX025SucceededAddressBookFileRequests:" $obj.DLX025SucceededAddressBookFileRequests write-host "DLX026SucceededAddressBookFileRequestsPerSecond:" $obj.DLX026SucceededAddressBookFileRequestsPerSecond write-host "DLX027AverageprocessingtimeforasucceededaddressBookfilerequestinmilliseconds:" $obj.DLX027AverageprocessingtimeforasucceededaddressBookfilerequestinmilliseconds write-host "DLX029FailedAddressBookFileRequests:" $obj.DLX029FailedAddressBookFileRequests write-host "DLX030FailedAddressBookFileRequestsPerSecond:" $obj.DLX030FailedAddressBookFileRequestsPerSecond write-host "DLX031Addressbooksearchrequests:" $obj.DLX031Addressbooksearchrequests write-host "DLX032Succeededaddressbooksearchrequests:" $obj.DLX032Succeededaddressbooksearchrequests write-host "DLX033Failedaddressbooksearchrequests:" $obj.DLX033Failedaddressbooksearchrequests write-host "DLX034AddressbooksearchrequestsPersec:" $obj.DLX034AddressbooksearchrequestsPersec write-host "DLX035Averageprocessingtimeforaaddressbooksearchrequestsinmilliseconds:" $obj.DLX035Averageprocessingtimeforaaddressbooksearchrequestsinmilliseconds write-host "DLX037AddressbookdatabasequeriesPersec:" $obj.DLX037AddressbookdatabasequeriesPersec write-host "DLX038Averageprocessingtimeforaaddressbookdatabasequeryinmilliseconds:" $obj.DLX038Averageprocessingtimeforaaddressbookdatabasequeryinmilliseconds write-host "DLX040AddressbookADqueriesPersec:" $obj.DLX040AddressbookADqueriesPersec write-host "DLX041AverageprocessingtimeforaaddressbookADqueryinmilliseconds:" $obj.DLX041AverageprocessingtimeforaaddressbookADqueryinmilliseconds write-host "DLX043Addressbookprefixstringsearchrequests:" $obj.DLX043Addressbookprefixstringsearchrequests write-host "DLX044Addressbookexactstringsearchrequests:" $obj.DLX044Addressbookexactstringsearchrequests write-host "DLX045AddressbookprefixDTMFsearchrequests:" $obj.DLX045AddressbookprefixDTMFsearchrequests write-host "DLX046AddressbookexactDTMFsearchrequests:" $obj.DLX046AddressbookexactDTMFsearchrequests write-host "DLX047Addressbookouscopesearchrequests:" $obj.DLX047Addressbookouscopesearchrequests write-host "DLX048Addressbookfullscopesearchrequests:" $obj.DLX048Addressbookfullscopesearchrequests write-host "DLX049AddressbookUserSidtoOuPathIdmappingcachesize:" $obj.DLX049AddressbookUserSidtoOuPathIdmappingcachesize write-host "Frequency_Object:" $obj.Frequency_Object write-host "Frequency_PerfTime:" $obj.Frequency_PerfTime write-host "Frequency_Sys100NS:" $obj.Frequency_Sys100NS write-host "Name:" $obj.Name write-host "Timestamp_Object:" $obj.Timestamp_Object write-host "Timestamp_PerfTime:" $obj.Timestamp_PerfTime write-host "Timestamp_Sys100NS:" $obj.Timestamp_Sys100NS write-host write-host "########" write-host }