WMI Class Reference for Dynamics CRM Performance Counters RRS feed

  • Question

  • Hello,

    I am trying to monitor a MS Dynamics CRM 2013 instance using the Performance Counters provided. 

    I will be writing VB Script to collect the performance counter data via WMI. 

    I couldn't find out the WMI class reference the Dynamics CRM 2013 performance counters.  

    What I meant was, some thing similar to the 'Windows Server Cluster' Object and Performance counter class, as given below.

    Help me on this.



    Wednesday, March 4, 2015 2:54 PM


All replies

  • 1) Not a SQL Server question.

    2) You don't need to write a scritpt to collect performance counters.  Just use Perfmon and create a Data Collector Set.

    3) If you do write a script, use PowerShell.



    Wednesday, March 4, 2015 3:09 PM
  • Hi David,

    Sorry for posting in the wrong forum. Will correct it in future.

    I can't use the Perfmon as I have a java application which will call the VB Script periodically to collect the data. I need to write both VB Script and Powershell scripts. I need to have the class reference to understand the data type of each attribute in a performance counter. For ex,

    The 'CRMAuthentication' counter has the following attributes. 

    1. Caption
    2. ClaimsAuthenticationAttemptsInTheLastMinute
    3. ClaimsAuthenticationFailuresInTheLastMinute
    4. Description

    It is necessary to understand the datatype each attributes in the all Performance Counters. 



    Thursday, March 5, 2015 6:55 AM
  • Why VBScript?  This is easier in PowerShell, and you have full access to .NET and WMI if you need it.



    Thursday, March 5, 2015 5:13 PM