You made me think on a Saturday! Shame on you!
No, that won't help you. MAPI/CDO have nothing to do with WMI. Really, the easiest way to do this is to use dsquery or adfind. This is what I recommend to the OP. To wit: C:\Temp>adfind -config -f objectcategory=msexchexchangeserver dn serialnumber AdFind V01.37.00cpp Joe Richards ([EMAIL PROTECTED]) June 2007 Using server: win2003-dc.essential.local:389 Directory: Windows Server 2003 Base DN: CN=Configuration,DC=essential,DC=local dn:CN=WIN2003-EXCH,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=essential,DC=local >serialNumber: Version 6.5 (Build 7638.2: Service Pack 2) dn:CN=WIN2008-EXCH,CN=Servers,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative Groups,CN=First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=essential,DC=local >serialNumber: Version 8.1 (Build 30240.6) 2 Objects returned C:\Temp> Regards, Michael B. Smith MCSE/Exchange MVP http://TheEssentialExchange.com From: Carl Houseman [mailto:[EMAIL PROTECTED] Sent: Saturday, April 26, 2008 12:07 PM To: NT System Admin Issues Subject: RE: Is there a way to remotely gather the version and service pack of a Microsoft Exchange Server? Doesn't this make it possible to use the same script against Exchange 2007? http://www.microsoft.com/downloads/details.aspx?FamilyID=e17e7f31-079a-43a9- bff2-0a110307611e <http://www.microsoft.com/downloads/details.aspx?FamilyID=e17e7f31-079a-43a9 -bff2-0a110307611e&displaylang=en> &displaylang=en Granted, you'll have to identify all the 2007 servers and add this to them, but I guess the ones which don't respond to the CDOEXM scripting will take care of that. Carl -----Original Message----- From: Michael B. Smith [mailto:[EMAIL PROTECTED] Sent: Saturday, April 26, 2008 11:20 AM To: NT System Admin Issues Subject: RE: Is there a way to remotely gather the version and service pack of a Microsoft Exchange Server? As long as there are no 2007 servers in the mix... Regards, Michael B. Smith MCSE/Exchange MVP http://TheEssentialExchange.com -----Original Message----- From: Carl Houseman [mailto:[EMAIL PROTECTED] Sent: Saturday, April 26, 2008 11:07 AM To: NT System Admin Issues Subject: RE: Is there a way to remotely gather the version and service pack of a Microsoft Exchange Server? Hmm, Exchange question. Does Sunbelt operate an Exchange list? Should be able to distill something here into what you need: http://www.microsoft.com/technet/prodtechnol/exchange/2000/maintain/ex2kwsh. mspx Carl -----Original Message----- From: Bryan Garmon [mailto:[EMAIL PROTECTED] Sent: Friday, April 25, 2008 11:14 PM To: NT System Admin Issues Subject: Is there a way to remotely gather the version and service pack of a Microsoft Exchange Server? Microsoft publishes the following manual method for determining the version of Exchange: http://support.microsoft.com/kb/152439 Is there a programmatic way to capture this information so I can run it against 200 Exchange servers? ~ Upgrade to Next Generation Antispam/Antivirus with Ninja! ~ ~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm> ~