I'm writing a script to pull volume usage (df) information from our Netapps. The get-navol cmdlet does almost everything I need, but I want to break out the snapshot utilization in my report as well. In our environment, we set the snap reserve to 0, which means that the SizeUsed includes the size of all the snapshots. Is there a way to get the amount of space used by snapshots for a volume using the powershell kit? The Get-NaSnapshotVolumeSpace cmdlet looked promissing, but it appears to only return the amount of space available to shapshots in the volume, which in my case is the same as the SizeAvailable for the Get-NaVol cmdlet.
I can get this information from the df command, using rsh, or the new ssh connection type in 1.3, but if I'm going to go through that pain, I might as well use the volume stats from there as well.