Win32_PerfFormattedData_DataMCUPerf 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_DataMCUPerf 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_DataMCUPerf_LCDATAMCU00DataMCUConferences" foreach ($obj in $objWmi) { write-host "Caption:" $obj.Caption write-host "DATAMCU000Conferences:" $obj.DATAMCU000Conferences write-host "DATAMCU001ConferencesPersec:" $obj.DATAMCU001ConferencesPersec write-host "DATAMCU002ConnectedUsers:" $obj.DATAMCU002ConnectedUsers write-host "DATAMCU003ConnectedUsersPersec:" $obj.DATAMCU003ConnectedUsersPersec write-host "DATAMCU004ConnectedPresenters:" $obj.DATAMCU004ConnectedPresenters write-host "DATAMCU005ConnectedPresentersPersec:" $obj.DATAMCU005ConnectedPresentersPersec write-host "DATAMCU006ReceivedResources:" $obj.DATAMCU006ReceivedResources write-host "DATAMCU007ReceivedResourcesPersec:" $obj.DATAMCU007ReceivedResourcesPersec write-host "DATAMCU008Slides:" $obj.DATAMCU008Slides write-host "DATAMCU009SlidesPersec:" $obj.DATAMCU009SlidesPersec write-host "DATAMCU010ImageSlides:" $obj.DATAMCU010ImageSlides write-host "DATAMCU011ImageSlidesPersec:" $obj.DATAMCU011ImageSlidesPersec write-host "DATAMCU012PollSlides:" $obj.DATAMCU012PollSlides write-host "DATAMCU013PollSlidesPersec:" $obj.DATAMCU013PollSlidesPersec write-host "DATAMCU014WebSlides:" $obj.DATAMCU014WebSlides write-host "DATAMCU015WebSlidesPersec:" $obj.DATAMCU015WebSlidesPersec write-host "DATAMCU016TextSlides:" $obj.DATAMCU016TextSlides write-host "DATAMCU017TextSlidesPersec:" $obj.DATAMCU017TextSlidesPersec write-host "DATAMCU018ApplicationSharingSlides:" $obj.DATAMCU018ApplicationSharingSlides write-host "DATAMCU019ApplicationSharingSlidesPersec:" $obj.DATAMCU019ApplicationSharingSlidesPersec write-host "DATAMCU020DocumentPresentationSlides:" $obj.DATAMCU020DocumentPresentationSlides write-host "DATAMCU021DocumentPresentationSlidesPersec:" $obj.DATAMCU021DocumentPresentationSlidesPersec write-host "DATAMCU022MediaSlides:" $obj.DATAMCU022MediaSlides write-host "DATAMCU023MediaSlidesPersec:" $obj.DATAMCU023MediaSlidesPersec write-host "DATAMCU024Blockedfiles:" $obj.DATAMCU024Blockedfiles write-host "DATAMCU025BlockedfilesPersec:" $obj.DATAMCU025BlockedfilesPersec write-host "DATAMCU026Complianceerrors:" $obj.DATAMCU026Complianceerrors write-host "DATAMCU027UploadedDataSize:" $obj.DATAMCU027UploadedDataSize write-host "DATAMCU028Totalsizeofhandoutsuploaded:" $obj.DATAMCU028Totalsizeofhandoutsuploaded write-host "DATAMCU029Totalnumberofhandoutsuploaded:" $obj.DATAMCU029Totalnumberofhandoutsuploaded write-host "DATAMCU030TotalnumberofhandoutsuploadedPersec:" $obj.DATAMCU030TotalnumberofhandoutsuploadedPersec write-host "DATAMCU031Resourcesoverconferencespacelimit:" $obj.DATAMCU031Resourcesoverconferencespacelimit write-host "DATAMCU032ResourcesoverconferencespacelimitPersec:" $obj.DATAMCU032ResourcesoverconferencespacelimitPersec write-host "DATAMCU033Resourcestoobig:" $obj.DATAMCU033Resourcestoobig write-host "DATAMCU034ResourcestoobigPersec:" $obj.DATAMCU034ResourcestoobigPersec write-host "DATAMCU035NumberofSessionControllers:" $obj.DATAMCU035NumberofSessionControllers write-host "DATAMCU036NumberofRegisteredSessions:" $obj.DATAMCU036NumberofRegisteredSessions write-host "DATAMCU037NumberofStoppingSessions:" $obj.DATAMCU037NumberofStoppingSessions write-host "DATAMCU038NumberofUnhandledApplicationException:" $obj.DATAMCU038NumberofUnhandledApplicationException write-host "DATAMCU039NumberofContentExpirationException:" $obj.DATAMCU039NumberofContentExpirationException write-host "DATAMCU040Sessionqueuesload:" $obj.DATAMCU040Sessionqueuesload write-host "DATAMCU041Sessionqueuesstate:" $obj.DATAMCU041Sessionqueuesstate write-host "DATAMCU042NumberofNotaContentFolderErrors:" $obj.DATAMCU042NumberofNotaContentFolderErrors write-host "DATAMCU043NumberofErrorstoCreateContentFolder:" $obj.DATAMCU043NumberofErrorstoCreateContentFolder write-host "DATAMCU044NumberofErrorstoCreateContentFile:" $obj.DATAMCU044NumberofErrorstoCreateContentFile write-host "DATAMCU045NumberofResourceFilesParsingFailures:" $obj.DATAMCU045NumberofResourceFilesParsingFailures write-host "DATAMCU046NumberofFailuresBecauseofInvalidInternalDownloadURL:" $obj.DATAMCU046NumberofFailuresBecauseofInvalidInternalDownloadURL write-host "DATAMCU047NumberofFailuresBecauseofInvalidExternalDownloadURL:" $obj.DATAMCU047NumberofFailuresBecauseofInvalidExternalDownloadURL write-host "DATAMCU048NumberofFailuresBecauseofEmptyListofProxies:" $obj.DATAMCU048NumberofFailuresBecauseofEmptyListofProxies write-host "DATAMCU049MaximumaveragetimeonconferencequeueforLDMmessages:" $obj.DATAMCU049MaximumaveragetimeonconferencequeueforLDMmessages write-host "DATAMCU050MinimumaveragetimeonconferencequeueforLDMmessages:" $obj.DATAMCU050MinimumaveragetimeonconferencequeueforLDMmessages write-host "DATAMCU051AveragetimequeuedindataMcuforLDMmessages:" $obj.DATAMCU051AveragetimequeuedindataMcuforLDMmessages write-host "DATAMCU052Maximumlengthofconferencequeues:" $obj.DATAMCU052Maximumlengthofconferencequeues write-host "DATAMCU053Miniumumlengthofconferencequeues:" $obj.DATAMCU053Miniumumlengthofconferencequeues write-host "DATAMCU054Averagelengthofconferencequeues:" $obj.DATAMCU054Averagelengthofconferencequeues write-host "Description:" $obj.Description 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 }