Win32_PerfRawData_ASMcuPerf 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_PerfRawData_ASMcuPerf 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_PerfRawData_ASMcuPerf_LCAsMcu00AsMcuConferences" foreach ($obj in $objWmi) { write-host "ASMCU000ActiveConferences:" $obj.ASMCU000ActiveConferences write-host "ASMCU001ActiveConferencesMax:" $obj.ASMCU001ActiveConferencesMax write-host "ASMCU002ActiveConferencesperSecond:" $obj.ASMCU002ActiveConferencesperSecond write-host "ASMCU003ActiveTranscoders:" $obj.ASMCU003ActiveTranscoders write-host "ASMCU004ActiveTranscodersMax:" $obj.ASMCU004ActiveTranscodersMax write-host "ASMCU005ActiveTranscodersperSecond:" $obj.ASMCU005ActiveTranscodersperSecond write-host "ASMCU006ActiveDataChannels:" $obj.ASMCU006ActiveDataChannels write-host "ASMCU007ActiveDataChannelsperConference:" $obj.ASMCU007ActiveDataChannelsperConference write-host "ASMCU008ActiveDataChannelsMax:" $obj.ASMCU008ActiveDataChannelsMax write-host "ASMCU009ActiveDataChannelsperSecond:" $obj.ASMCU009ActiveDataChannelsperSecond write-host "ASMCU010ConnectedUsers:" $obj.ASMCU010ConnectedUsers write-host "ASMCU011ConnectedUsersperConference:" $obj.ASMCU011ConnectedUsersperConference write-host "ASMCU012ConnectedUsersMax:" $obj.ASMCU012ConnectedUsersMax write-host "ASMCU013ConnectedUsersperSecond:" $obj.ASMCU013ConnectedUsersperSecond write-host "ASMCU014ConferencesCreatedTotal:" $obj.ASMCU014ConferencesCreatedTotal write-host "ASMCU015ActiveTrustedServerConnections:" $obj.ASMCU015ActiveTrustedServerConnections write-host "ASMCU016ActiveTrustedServerConnectionsperConference:" $obj.ASMCU016ActiveTrustedServerConnectionsperConference write-host "ASMCU017ActiveTrustedServerConnectionsMax:" $obj.ASMCU017ActiveTrustedServerConnectionsMax write-host "ASMCU018ActiveTrustedServerConnectionsperSecond:" $obj.ASMCU018ActiveTrustedServerConnectionsperSecond write-host "ASMCU019ActiveAjaxViewers:" $obj.ASMCU019ActiveAjaxViewers write-host "ASMCU020ActiveAjaxViewersperConference:" $obj.ASMCU020ActiveAjaxViewersperConference write-host "ASMCU021ActiveAjaxViewersMax:" $obj.ASMCU021ActiveAjaxViewersMax write-host "ASMCU022ActiveAjaxViewersperSecond:" $obj.ASMCU022ActiveAjaxViewersperSecond write-host "ASMCU023ActiveAnonymousConnections:" $obj.ASMCU023ActiveAnonymousConnections write-host "ASMCU024ActiveAnonymousConnectionsperConference:" $obj.ASMCU024ActiveAnonymousConnectionsperConference write-host "ASMCU025ActiveAnonymousConnectionsMax:" $obj.ASMCU025ActiveAnonymousConnectionsMax write-host "ASMCU026ActiveAnonymousUserConnectionsperSecond:" $obj.ASMCU026ActiveAnonymousUserConnectionsperSecond write-host "ASMCU027ActiveFederatedConnections:" $obj.ASMCU027ActiveFederatedConnections write-host "ASMCU028ActiveFederatedConnectionsperConference:" $obj.ASMCU028ActiveFederatedConnectionsperConference write-host "ASMCU029ActiveFederatedConnectionsMax:" $obj.ASMCU029ActiveFederatedConnectionsMax write-host "ASMCU030ActiveFederatedConnectionsperSecond:" $obj.ASMCU030ActiveFederatedConnectionsperSecond write-host "ASMCU031ActiveExternalConnections:" $obj.ASMCU031ActiveExternalConnections write-host "ASMCU032ActiveExternalConnectionsperConference:" $obj.ASMCU032ActiveExternalConnectionsperConference write-host "ASMCU033ActiveExternalConnectionsMax:" $obj.ASMCU033ActiveExternalConnectionsMax write-host "ASMCU034ActiveExternalConnectionsperSecond:" $obj.ASMCU034ActiveExternalConnectionsperSecond write-host "ASMCU035TotalTranscoderErrors:" $obj.ASMCU035TotalTranscoderErrors write-host "ASMCU036TotalCreateTranscoderErrors:" $obj.ASMCU036TotalCreateTranscoderErrors write-host "ASMCU037TotalCloseTranscoderErrors:" $obj.ASMCU037TotalCloseTranscoderErrors write-host "Caption:" $obj.Caption 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 }