Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 232233

Re: Get NFS performance counters via PowerCLI

$
0
0

Ok, that does give me something, I've have now tried to do this:

 

$esxName = "my esx server"

$stats=Get-Stat-Entity (Get-VMHost$esxName) -Statdatastore.totalWriteLatency.average-MaxSamples 1 -IntervalMins 5


And I have retrieved a list of my NFS datastores by using this command:


$nfsds = Get-Datastore | where {$_.Type -eq "NFS"}


However, I've been trying to find a stable way (that is UUID I guess) to couple these two results.


I have found an "Instance" value in the return data from Get-Stat, this does infact remind me of a UUID, but I have not been able to find it in my data from Get-Datastore. Or maybe I'm just doing it wrong?


(I'm not a powershell experienced hacker :-( )




Viewing all articles
Browse latest Browse all 232233

Trending Articles



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