API Reference
Command
Get-CxProcessor
Returns processor inventory for one or more computers.
Examples
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[]
- Target computer names. Use . for the local machine or provide DNS/NetBIOS names. When omitted, the local computer is queried.
Outputs
ComputerX.Hardware.ProcessorInfo