TestimoX

API Reference

Command

Get-CxComputerSystem

Namespace ComputerX.PowerShell
Inputs
System.String
Outputs
ComputerX.ComputerSystem.ComputerSystemInfo

Returns the Win32 computer system inventory for a computer.

Examples

Authored help example

Example 1: Retrieves the local computer system inventory.

PS>


Get-CxComputerSystem
        

Example 2: Queries a Hyper-V host and selects the sizing fields used for capacity reviews.

PS>


Get-CxComputerSystem -ComputerName HV01 | Select-Object ComputerName,Manufacturer,Model,TotalPhysicalMemory,NumberOfLogicalProcessors
        

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-CxComputerSystem [-ComputerName <string>] [<CommonParameters>]
#

Parameters

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

Outputs

ComputerX.ComputerSystem.ComputerSystemInfo