TestimoX

API Reference

Command

Get-CxSystemMetrics

Namespace ComputerX.PowerShell
Inputs
System.String[]
Outputs
ComputerX.Diagnostics.SystemMetricsInfo

Returns a compact system health snapshot for one or more computers.

Examples

Authored help example

Example 1: Retrieves the local machine health snapshot.

PS>


Get-CxSystemMetrics
        

Example 2: Queries two servers during an incident triage call.

PS>


Get-CxSystemMetrics -ComputerName APP01,APP02
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

Get-CxSystemMetrics [-ComputerName <string[]>] [<CommonParameters>]
#

Parameters

ComputerName string[] optionalposition: 0pipeline: true (ByValue, ByPropertyName)
Target computer names. Use . for the local machine or provide DNS/NetBIOS names. When omitted, the local computer is queried.

Outputs

ComputerX.Diagnostics.SystemMetricsInfo