Get-UnityMetricQueryResult
SYNOPSIS
A set of values for one or more metrics for a given period of time.
SYNTAX
Get-UnityMetricQueryResult [[-session] <Object>] [-queryId] <Object[]>
DESCRIPTION
A set of values for one or more metrics for a given period of time. You need to have an active session with the array.
EXAMPLES
-------------------------- EXAMPLE 1 --------------------------
Get-UnityMetricQueryResult -queryId 5
Retrieve informations about query who's ID is 5.
-------------------------- EXAMPLE 2 --------------------------
$query = New-UnityMetricRealTimeQuery -paths 'sp.*.cpu.core.*.busyTicks' -interval 30
$query | Get-UnityMetricQueryResult
Get query results using pipeline.
PARAMETERS
-session
Specifies an UnitySession Object.
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: ($global:DefaultUnitySession | where-object {$_.IsConnected -eq $true})
Accept pipeline input: False
Accept wildcard characters: False
-queryId
Queries ID or object.
Type: Object[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False
INPUTS
OUTPUTS
NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE