Sorry for the dumb and old question.
I'm trying to use powercli to get the performance (resource utilization) data from vCenter 7 clusters instead of using webUI.
The demand is to collect just a result of the percentage of average/max utilization of cpu(or memory...etc)calculated from a specific cluster between specific time range. Like what performance chart shows.
The commandline I use to test is : Get-Cluster -Name "this_is_my_cluster" | Get-Stat -Stat "cpu.usage.average" -Start "11/01/2022" -Finish "11/02/2022"
However, the output is a list of cpu.usage.average(samples from every half hour), which doesn't match what i need.
Does anyone know which parameters should/shouldn't be included?
thanks in advance!