VMware Cloud Community
TheVMinator
Expert
Expert

vCOps PowerShell Module - Cannot return multiple metrics with get-vcopsresourcemetric cmdlet

Question for the vCOps Poweshell Module pioneers:

I am attempting to run the following code:

wDT

get-vm dalbakmngt001 | Get-vCOpsResourceMetric -metricKey "badge|waste","waste|diskSpace|total"

This should give me as I suppose, two metrics for this VM.

Instead, I'm getting one metric twice as below.

Any Ideas?

    : -2.425097942352295


Date      : 3/20/2014 2:55:36 PM

smooth    : 70.0

MetricKey : badge|waste

HighDt    : 81.4550552368164

Value     : 70.0

Name      : dalbakmngt001

LowDT     : -2.425097942352295


Date      : 3/20/2014 3:00:36 PM

smooth    : 70.0

MetricKey : badge|waste

HighDt    : 81.4550552368164

Value     : 70.0

Name      : dalbakmngt001

0 Kudos
0 Replies