Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

(WMI) Need a cluster resource information - resource owned by cluster group

$
0
0
Hello guys,

I need to get some information regarding the drives that a cluster group owns.

Here is the Code i m using to get the cluster network names:-

    

 strWMIQuery = "SELECT * FROM MSCluster_Resource WHERE Type = 'Network Name'"

   Set colWMIItems = objWMICluster.ExecQuery(strWMIQuery)   

   WScript.Echo "List of Cluster Network Names:"

   For Each objItem in colWMIItems

      WScript.Echo objItem.PrivateProperties.Name

   Next



Now i need to get the DRIVES (specifically, resources of type "volume manager disk group") owned by a cluster group.

Can someone please help me which WMI class object can give this information?

I have attached a screenshot of the information i need from WMI/vbscript. (circled in red)

screenshot :   i38.tinypic.com/1jc8.jpg


Someone please help me! Will pay if needed!!

Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>