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

Re: Problem with get-stat command and scripting

$
0
0

There was a typo in the script. This line

$hourMax = $_.Group | Where {$_.MetricId -eq "cpu.usagemhz.maximum"} |

should have been like this

$hourMax += $_.Group | Where {$_.MetricId -eq "cpu.usagemhz.maximum"} |

The script above has been corrected.


Viewing all articles
Browse latest Browse all 231887

Trending Articles