TestimoX

API Reference

Command

Get-CxPerfCounter

Namespace ComputerX.PowerShell
Outputs
ComputerX.Diagnostics.PerfCounterResult

Implements the Get-CxPerfCounter cmdlet.

Examples

Authored help example

Example 1


Get-CxPerfCounter -ComputerName SERVER1
        

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-CxPerfCounter -Name <string> [-ComputerName <string>] [-NoFallback] [-PreferCim] [<CommonParameters>]
#

Parameters

Name string requiredposition: 0pipeline: false
Name identifier for the target resource.
ComputerName string optionalposition: 1pipeline: false
Target computer(s). Use '.' for local computer or provide DNS names.
NoFallback SwitchParameter optionalposition: namedpipeline: false
Gets or sets the NoFallback parameter.
PreferCim SwitchParameter optionalposition: namedpipeline: false
Gets or sets the PreferCim parameter.

Outputs

ComputerX.Diagnostics.PerfCounterResult