TestimoX

API Reference

Command

Get-CxProcessor

Namespace ComputerX.PowerShell
Inputs
System.String[]
Outputs
ComputerX.Hardware.ProcessorInfo

Returns processor inventory for one or more computers.

Examples

Authored help example

Example 1: Retrieves the local processor inventory.

PS>


Get-CxProcessor
        

Example 2: Queries virtualization hosts and selects the CPU sizing fields used in capacity planning.

PS>


Get-CxProcessor -ComputerName HV01,HV02 | Select-Object ComputerName,Name,NumberOfCores,NumberOfLogicalProcessors,MaxClockSpeed
        

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-CxProcessor [-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.Hardware.ProcessorInfo