I would like to be able to query the Exchange version installed on our user’s server. I understand that this can be done using WMI, but I’m having a hard time finding a simple explanation using Google. Any advice?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
This should get you started:
That searches for instances of the
Win32_Productclass where theVendorproperty begins with"Microsoft"and theNameproperty is"Exchange", and retrieves theVersionproperty. I don’t have access to an installation of Exchange to know what those values will actually be. Even better would be if you can determine what theProductIDproperty would be for Exchange so you can filter just based on that.Note that not all installed applications are returned by
Win32_Product(it seems to be mostly Microsoft applications and those with Windows Installer installers). So, for all I know Exchange is not one of these applications!