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

looking to get volume stats on cluster storage via PS

$
0
0

I have a disk in the cluster (NOT a CSV) called 'share'

I can run get-clusterresource share and it returns

PS C:\Users\blake> get-clusterresource share

Name                          State                         Group                         ResourceType
----                          -----                         -----                         ------------
Share                         Online                        storagecloud                  Physical Disk

Is there any way I can further drill down and get any stats from that volume?  It is shared between two cluster nodes (HA file share) and I'd like to query the cluster directly rather than hitting up both nodes and using WMI to get the size, etc.

I know there is a parameter called 'diskvolumeinfo' because I can do this:

PS C:\Users\blake> get-clusterresource share | get-clusterparameter diskvolumeinfo

Object                        Name                          Value                         Type
------                        ----                          -----                         ----
Share                         DiskVolumeInfo                {1, 0, 0, 0...}               ByteArray

Feedback welcome!  And thanks!


Viewing all articles
Browse latest Browse all 21975

Trending Articles



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