I'm trying to use a PowerShell script to monitor the size of ClusterSharedVolumes. I have a working script that I've tested, that just pulls the CSVs' total sizes. I was going to add their sizes to $monitor.Details, but couldn't even get that far. I can run this script on the remote Cluster from my desktop, and verified that I also do so from the server running PA Server Mon.
However, when I try to add the script via PA Server mon, testing fails. Please see attached image for screenshot of failure (not recognizing Get-ClusterSharedVolume) and another screenshot of the cmdlet being run successfully on the PA server mon Host.
Any help is much appreciated.
https://www.dropbox.com/s/1taxyvyx11nllt5/Capture1.PNG?dl=0 https://www.dropbox.com/s/30v8sfqormao1xh/Capture2.PNG?dl=0