Win32_PerfFormattedData_MSExchangeIS_MSExchangeISMailbox - WMI sample in VBScript

The foundations for Manageability in Windows 7/2008/Vista/XP/2000 and Millennium Edition/'98 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 Win32_PerfFormattedData_MSExchangeIS_MSExchangeISMailbox WMI class can be used in ActiveXperts Network Monitor to monitor your servers.


Win32_PerfFormattedData_MSExchangeIS_MSExchangeISMailbox

Description

Example(s)

On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_PerfFormattedData_MSExchangeIS_MSExchangeISMailbox",,48)
For Each objItem in colItems
    Wscript.Echo "ActiveClientLogons: " & objItem.ActiveClientLogons
    Wscript.Echo "AverageDeliveryTime: " & objItem.AverageDeliveryTime
    Wscript.Echo "Caption: " & objItem.Caption
    Wscript.Echo "CategorizationCount: " & objItem.CategorizationCount
    Wscript.Echo "ClientLogons: " & objItem.ClientLogons
    Wscript.Echo "Description: " & objItem.Description
    Wscript.Echo "EventHistoryDeletes: " & objItem.EventHistoryDeletes
    Wscript.Echo "EventHistoryDeletesPersec: " & objItem.EventHistoryDeletesPersec
    Wscript.Echo "EventHistoryEventCacheHitsPercent: " & objItem.EventHistoryEventCacheHitsPercent
    Wscript.Echo "EventHistoryEventsCount: " & objItem.EventHistoryEventsCount
    Wscript.Echo "EventHistoryEventsWithEmptyContainerClass: " & objItem.EventHistoryEventsWithEmptyContainerClass
    Wscript.Echo "EventHistoryEventsWithEmptyMessageClass: " & objItem.EventHistoryEventsWithEmptyMessageClass
    Wscript.Echo "EventHistoryEventsWithTruncatedContainerClass: " & objItem.EventHistoryEventsWithTruncatedContainerClass
    Wscript.Echo "EventHistoryEventsWithTruncatedMessageClass: " & objItem.EventHistoryEventsWithTruncatedMessageClass
    Wscript.Echo "EventHistoryReads: " & objItem.EventHistoryReads
    Wscript.Echo "EventHistoryReadsPersec: " & objItem.EventHistoryReadsPersec
    Wscript.Echo "EventHistoryUncommittedTransactionsCount: " & objItem.EventHistoryUncommittedTransactionsCount
    Wscript.Echo "EventHistoryWatermarksCount: " & objItem.EventHistoryWatermarksCount
    Wscript.Echo "EventHistoryWatermarksDeletes: " & objItem.EventHistoryWatermarksDeletes
    Wscript.Echo "EventHistoryWatermarksDeletesPersec: " & objItem.EventHistoryWatermarksDeletesPersec
    Wscript.Echo "EventHistoryWatermarksReads: " & objItem.EventHistoryWatermarksReads
    Wscript.Echo "EventHistoryWatermarksReadsPersec: " & objItem.EventHistoryWatermarksReadsPersec
    Wscript.Echo "EventHistoryWatermarksWrites: " & objItem.EventHistoryWatermarksWrites
    Wscript.Echo "EventHistoryWatermarksWritesPersec: " & objItem.EventHistoryWatermarksWritesPersec
    Wscript.Echo "EventHistoryWrites: " & objItem.EventHistoryWrites
    Wscript.Echo "EventHistoryWritesPersec: " & objItem.EventHistoryWritesPersec
    Wscript.Echo "FolderopensPersec: " & objItem.FolderopensPersec
    Wscript.Echo "Frequency_Object: " & objItem.Frequency_Object
    Wscript.Echo "Frequency_PerfTime: " & objItem.Frequency_PerfTime
    Wscript.Echo "Frequency_Sys100NS: " & objItem.Frequency_Sys100NS
    Wscript.Echo "HTTPDAVCurrentPendingNotifications: " & objItem.HTTPDAVCurrentPendingNotifications
    Wscript.Echo "HTTPDAVCurrentSubscriptions: " & objItem.HTTPDAVCurrentSubscriptions
    Wscript.Echo "HTTPDAVCurrentTransactionLocks: " & objItem.HTTPDAVCurrentTransactionLocks
    Wscript.Echo "HTTPDAVNotifyRequestsPersec: " & objItem.HTTPDAVNotifyRequestsPersec
    Wscript.Echo "HTTPDAVTotalLocksCreated: " & objItem.HTTPDAVTotalLocksCreated
    Wscript.Echo "HTTPDAVTotalNotifyRequests: " & objItem.HTTPDAVTotalNotifyRequests
    Wscript.Echo "HTTPDAVTotalSubscriptionsCreated: " & objItem.HTTPDAVTotalSubscriptionsCreated
    Wscript.Echo "HTTPDAVTotalSubscriptionsExpired: " & objItem.HTTPDAVTotalSubscriptionsExpired
    Wscript.Echo "Localdeliveries: " & objItem.Localdeliveries
    Wscript.Echo "Localdeliveryrate: " & objItem.Localdeliveryrate
    Wscript.Echo "LogonOperationsPersec: " & objItem.LogonOperationsPersec
    Wscript.Echo "MessageOpensPersec: " & objItem.MessageOpensPersec
    Wscript.Echo "MessageRecipientsDelivered: " & objItem.MessageRecipientsDelivered
    Wscript.Echo "MessageRecipientsDeliveredPersec: " & objItem.MessageRecipientsDeliveredPersec
    Wscript.Echo "MessagesDelivered: " & objItem.MessagesDelivered
    Wscript.Echo "MessagesDeliveredPersec: " & objItem.MessagesDeliveredPersec
    Wscript.Echo "MessagesQueuedForSubmission: " & objItem.MessagesQueuedForSubmission
    Wscript.Echo "MessagesSent: " & objItem.MessagesSent
    Wscript.Echo "MessagesSentPersec: " & objItem.MessagesSentPersec
    Wscript.Echo "MessagesSubmitted: " & objItem.MessagesSubmitted
    Wscript.Echo "MessagesSubmittedPersec: " & objItem.MessagesSubmittedPersec
    Wscript.Echo "Name: " & objItem.Name
    Wscript.Echo "PeakClientLogons: " & objItem.PeakClientLogons
    Wscript.Echo "ReceiveQueueSize: " & objItem.ReceiveQueueSize
    Wscript.Echo "ReplIDCount: " & objItem.ReplIDCount
    Wscript.Echo "RestrictedViewCacheHitRate: " & objItem.RestrictedViewCacheHitRate
    Wscript.Echo "RestrictedViewCacheMissRate: " & objItem.RestrictedViewCacheMissRate
    Wscript.Echo "SearchTaskRate: " & objItem.SearchTaskRate
    Wscript.Echo "SingleInstanceRatio: " & objItem.SingleInstanceRatio
    Wscript.Echo "SlowFindRowRate: " & objItem.SlowFindRowRate
    Wscript.Echo "Timestamp_Object: " & objItem.Timestamp_Object
    Wscript.Echo "Timestamp_PerfTime: " & objItem.Timestamp_PerfTime
    Wscript.Echo "Timestamp_Sys100NS: " & objItem.Timestamp_Sys100NS
    Wscript.Echo "TotalCountofRecoverableItems: " & objItem.TotalCountofRecoverableItems
    Wscript.Echo "TotalSizeofRecoverableItems: " & objItem.TotalSizeofRecoverableItems
    Wscript.Echo "VirusScanBackgroundMessagesScanned: " & objItem.VirusScanBackgroundMessagesScanned
    Wscript.Echo "VirusScanBackgroundMessagesSkipped: " & objItem.VirusScanBackgroundMessagesSkipped
    Wscript.Echo "VirusScanBackgroundMessagesUpToDate: " & objItem.VirusScanBackgroundMessagesUpToDate
    Wscript.Echo "VirusScanBackgroundScanningThreads: " & objItem.VirusScanBackgroundScanningThreads
    Wscript.Echo "VirusScanExternalResultsAccepted: " & objItem.VirusScanExternalResultsAccepted
    Wscript.Echo "VirusScanExternalResultsNotAccepted: " & objItem.VirusScanExternalResultsNotAccepted
    Wscript.Echo "VirusScanExternalResultsNotPresent: " & objItem.VirusScanExternalResultsNotPresent
Next