Hi i am playing with the follwouing command
Get-VM | Get-Stat -cpu
but get blank output
However
Get-VM works ok
what am I doing wrong ??
Cheers
First thing to check, are you collecting performance data ?
In the VI Client go to .
Are there any intervals checked ?
yes got this sorted now
cheers
Good, note that it can take some time before you see data for all the intervals.
Also note that it depends on the "Statistics Level" you have defined which metrics are available for each interval.
Hi,
It also can be useful for you if you use the -RealTime parmeter switch with the Get-Stat cmdlet. That will give you the real ttme statistics on 20sec intervals.
Example: Get-Vm | Get-Stat -cpu -realtime
\Yavor