Exchange 2003 & WMI
Hi all,I want to administer my Exchange 2003 installation using WMI. I understand that I need to use certain scripts and pass commands like this:C:\>GetCollectionOfInstances.wsf "Select * From Exchange_Server" /Namespace:root\MicrosoftExchangeV2 /Machine:VM10284346B.LissWare.NetBut my question is:1) Is WMI support by default provided with Exchange 2003 installation? I do not recall any option for this when I did the setup, so I am unsure of whether its already available or not.2) Assuming that WMI is pre-configured, but how/where do I get the different scripts from (.wsf)? Also, is there any documentation for these scripts that I can use to use for my automation?Any responses would be appreciated.Thanks !!Kamal Arora
June 30th, 2008 8:36am

Hi Kamal, By default, Exchange WMI installed & configured with Exchange server installation and Exchange System Management internally works on WMI to manage Exchange environment. You can use WMI incorporated with VBScript to archive your required automated task but which requires some of the VBScript programming knowledge. Here is the reference of all Exchange WMI classes which can be used with VBScript / PowerSehll. Exchange WMI Here are some of the samples VBScripts to automate some of the task in Exchange. Exchange Server Cookbook
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2008 10:15am

Thank you Amit for your response !!The problem here is that I am a Java developer and I need to automate Exchange 2003 administration tasks using Java only. So I am looking at available WMI classes/functionality that I can use out-of-the-box. But as per your last comment it seems like the same is not true as I need to use the VBScripts as well, which may even need some customization. So kindly advice me as to what would be the best/optimal approach for me to go ahead with my task? Appreciate your help...Thanks a lot !!-Kamal Arora
June 30th, 2008 11:45am

While digging into this a bit more, I fouund that there is a "wmic.exe", which is basicaly a command-line interface for executing Windows commands for management purposes. So I am just curious if I can use the same "wmic.exe" to execute the commands for Exchange related commands?Anyone with any experience of using it for Exchange 2003?Thanks !!Kamal Arora
Free Windows Admin Tool Kit Click here and download it now
June 30th, 2008 2:39pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics