[E2010 E2007][ ? ][c#] Monitoring Exchange 2007/2010
-
Monday, May 14, 2012 7:09 PM
Hello everybody,
We are developing a desktop tool for monitoring Exchange 2007/2010 servers.
Now we are a bit confused with how to access Exchange counters.
There are many options using different APIs like PS/EWS*.
Are there any other methods like WMI (is this still available in 2007/2010)? Directly querying CIMv2 via RPC? Other API?
Is there any comparison of that methods? What is most robust/fast/easy to implement/etc? Any recommendations either from MS or community.
Appreciate if somebody can help.
Thanks,
Alex.
All Replies
-
Tuesday, May 15, 2012 4:26 AMMicrosoft Exchange Server 2007 and later do not include WMI providers. If you have older applications that use the Exchange 2003 WMI providers cannot be used to monitor computers that are running Exchange 2007, 2010 or later. Microsoft Windows PowerShell commands that work with Exchange 2007 and later replace the WMI providers in Exchange 2003.
DeVa, M.S., {MSFT} Please remember to mark the replies as answers if they help
-
Tuesday, May 15, 2012 3:01 PM
Well,
Thanks DeVa for the reply. I've read this info from MS sites however Exchange 2007/2010 still can be queried using WMI. MS just changed naming but stuff is still there.
So we have at least 3 working methods for pulling info from exchange:
- WMI using System.Management
- PowerShell using System.Management.Automation
- via RPC
I am wondering if somebody can share information about what method is preferable and what are pros and cons of each when accessing exchange counters?
Thanks

