Hi i am playing with the follwouing command
Get-VM | Get-Stat -cpu
but get blank output
Get-VM works ok
what am I doing wrong ??
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.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
View solution in original post
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
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