Exchange Server 2007 monitoring using WMI script

Home Forums Messaging Software Exchange 2007 / 2010 / 2013 Exchange Server 2007 monitoring using WMI script

Viewing 1 post (of 1 total)
  • Author
  • Avatar

    Hi All,

    I’d like to know if anyone here have WMI script to monitor Exchange Server 2007 ?
    according to the following article yes it is possible:
    and also here:

    My goal is to be able to integrate my 3rd party monitoring software which currently uses WMI (not Paessler but eMite) to query each server service and I wonder if anyone can share your script here.

    the following script can generate the whole lot of classes but I’m not sure how to use it:

    strComputer = “ExCluster01”
    nSpace = “rootcimv2”
    Set objSWbemServices = GetObject(“winmgmts:\” & strComputer & nSpace)

    Set objWMIService = GetObject(“winmgmts:” & “{impersonationLevel=impersonate}!\” & strComputer & “rootcimv2”)

    Set colClasses = objSWbemServices.SubclassesOf()
    For Each objClass In colClasses
    WScript.Echo objClass.Path_.Class
    Set colProperties = objClass.Properties_
    For Each objProperty In colProperties
    WScript.Echo vbTab & objProperty.Name


Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.