• If you go to command prompt and type in wbemtest and enter.

    Hit connect.

    Change the location from:

    root\default to root\cimv2 and hit login

    Hit enumerate classes, use recursive radio button, hit ok

    You will no have a list of all the classes and their properties.  You can scroll down to Win_NTLogEvent to see the properties in the middle window.

    Or you can cut and paste this script as ClassInfo.vbs

    Const wbemFlagReturnImmediately = &h10

    Const wbemFlagForwardOnly = &h20

    On Error Resume Next

    arrComputers = Array(".")

    For Each strComputer In arrComputers

       WScript.Echo

       WScript.Echo "=========================================="

       WScript.Echo "Computer: " & strComputer

       WScript.Echo "=========================================="

      

    strClass = "Win32_NTEventLog"

    Get objWMIService = _

       GetObject("winmgmts:{impersonationLevel=impersonate}root\cimv2")

    Set colClasses = objWMIService.ExecQuery("SELECT * FROM " & strClass, "WQL", _

                                              wbemFlagReturnImmediately + wbemFlagForwardOnly)

    i = 0

    For Each objClass In colClasses

       i = i + 1

       If i = 1 Then

       WScript.Echo "* Properties *"

       For Each objProperty In objClass.Properties_

          WScript.Echo objProperty.Name

       Next

       WScript.Echo vbNewLine & "* Methods *"

       For Each objMethod In objClass.Methods_

          WScript.Echo objMethod.Name

       Next

       End If

    Next

    Next

     

    Hope this helps