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

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

Popular posts from this blog

Error: 0x80073701 when trying to add Print Services Role in Windows 2012 Standard

Disconnecting from a Windows Server 2012 R2 file sharing session on a Windows 7,8,10 machine

Event ID 64,77,1008 Certificates Events Windows Server 2008, 2008R2