VBscript for Cluster Resource
hi everyone,
writing script getting properties , parameters configured resources createde in cluster(am looking resource type 'generic service').i have pulled out resource names present in cluster not sure how pull service name present in resource properties using wmi/vbscript.can 1 me out .i have used following code.
set colitems1 = objwmiservice.execquery("select * mscluster_resource")
each objitem1 in colitems1
wscript.echo "resource name: " & objitem1.name
wscript.echo "state: " & objitem1.state
next
s.arun prasath ibm global delivery
writing script getting properties , parameters configured resources createde in cluster(am looking resource type 'generic service').i have pulled out resource names present in cluster not sure how pull service name present in resource properties using wmi/vbscript.can 1 me out .i have used following code.
set colitems1 = objwmiservice.execquery("select * mscluster_resource")
each objitem1 in colitems1
wscript.echo "resource name: " & objitem1.name
wscript.echo "state: " & objitem1.state
next
s.arun prasath ibm global delivery
hi,
for scripting issues, please discuss them in our msdn forum:
http://social.msdn.microsoft.com/forums/en/categories/
i hope issue can resolved soon.
tim quan - msft
Windows Server > Windows Server General Forum
Comments
Post a Comment