Hi,
I am using Power CLI 5.0.1 for getting performance data of Vmware Vshper 4.1.0.
I get the correct values for Vms and Hosts performance data (The physical entities).
But when I try to get performace data for logical entities like (Cluster, Resource pool), I get incorrect values.
I am trying to get values for cpu.usage.average
The command I use :
Get-Stat -Entity Chargeback -Start ([System.DateTime]::Now.AddDays(-1)) -Finish([System.DateTime]::Now) -Stat cpu.usage.average
**Chargeback is the cluster name.
Difference is almost double. For Example at specific time the Vmware vshpere console shows 43.1% whereas the values return in power CLI is 86.7% for cpu.usage.average.
Can anyone please let me know how can I get the correct data?
Thanks in advance.