VBscript for Cluster Resource
Hi Everyone, I am writing a script for getting the properties and parameters that are configured for Resources that are createde in the cluster(am looking for resource type 'Generic Service').I have successfully pulled out the resource names that are present in the cluster but not sure how to pull the service name present in this resource properties using the WMI/vbscript.Can any one help me out .I have used the following code. Set colItems1 = objWMIService.ExecQuery("Select * from MSCluster_Resource") For Each objItem1 In colItems1 WScript.Echo "Resource Name: " & objItem1.Name WScript.Echo "State: " & objItem1.State Next
S.Arun Prasath IBM Global delivery
December 7th, 2009 3:52am
Hi,
For scripting issues, please discuss them in our MSDN forum:
http://social.msdn.microsoft.com/Forums/en/categories/
I hope your issue can be resolved soon.
Tim Quan - MSFT
Free Windows Admin Tool Kit Click here and download it now
December 7th, 2009 5:22am
I am wondering the same thing. Can some one help?
MSCluster_Resource class on msdn does not list that property. Is there any work around?
Thanks!
June 8th, 2012 10:57am


