|
|
Hi, I am trying to get a list of routinggroup / status, so i wrote a pretty simple WMI script which is somewhat like this strComputer = "." Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & strComputer & "\root\MicrosoftExchangeV2") Set colItems = objWMIService.ExecQuery( _ "SELECT * FROM Exchange_Server",,48) For Each objItem in colItems Wscript.Echo "-----------------------------------" Wscript.Echo "Exchange_Server instance" Wscript.Echo "-----------------------------------" Wscript.Echo "Status: " & objItem.Status Next
when i run this, it doesn't show any error, but doesn't run either, other simple classes are returning data, but not this exchange server one, please help....
Thanks and Regards
|
|
|