Line 2004 in PureStorage.Pure1.psm in function Get-PureOneMetric needs to change to:
$objectQuery = $objectQuery + "resource_ids=`'$($objectId)`'"
from:
$objectQuery = $objectQuery + "ids=`'$($objectId)`'"
The names attributes contains the metric names, ids would contain the metric id as retrieved by Get-PureOneMetricDetail.
The attribute name must be resource_ids to allow metric retrieval using the array id.
Line 2004 in PureStorage.Pure1.psm in function Get-PureOneMetric needs to change to:
$objectQuery = $objectQuery + "resource_ids=`'$($objectId)`'"from:
$objectQuery = $objectQuery + "ids=`'$($objectId)`'"The names attributes contains the metric names, ids would contain the metric id as retrieved by Get-PureOneMetricDetail.
The attribute name must be resource_ids to allow metric retrieval using the array id.