API Reference
Command
Get-CxComputerSystem
Returns the Win32 computer system inventory for a computer.
Examples
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
- 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