Skip to main content

Get-LXCAChassis

This cmdlet retrieves system information for one or more chassis that have been discovered by Lenovo XClarity Administrator, including managed and unmanaged chassis.

This cmdlet returns system information (such as location, health, and machine type) about the chassis and CMMs that are installed in the chassis. It does not include detailed information about other chassis components, such as compute nodes, Flex switches, or fans. For inventory information for the chassis and chassis components, use the Get-LXCAChassisInventory cmdlet.

Note
You cannot pipe objects to this cmdlet.

Syntax

Get-LXCAChassis [-Connection LXCAConnection] 
[-ChassisUuid String[]]
[CommonParameter]

Get-LXCAChassis [-Connection LXCAConnection]
[-Unmanaged]
[CommonParameter]

Parameters

-Connection LXCAConnection
Specifies the connection to the Lenovo XClarity Administrator server. If no connection is specified, the result from the last Connect-LXCA cmdlet is used.
-ChassisUuid String[]
Specifies the UUID of the chassis. If no UUID is specified and you specify the -Unmanaged parameter, all unmanged chassis are returned. If no UUID is specified and the -Unmanaged parameter is not specified, this cmdlet returns all managed chassis.
-Unmanaged
If specified, this cmdlet returns a list of unmanaged chassis. Otherwise, this cmdlet returns a list of managed chassis.
CommonParameters
This cmdlet supports the following common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -WarningAction, -WarningVariable, -OutBuffer, -PipelineVariable, -OutVariable. For detailed information about each common parameter, see the Microsoft PowerShell Common Parameters webpage.

Results

This cmdlet returns one or more Chassis objects that contain information about each chassis and the CMMs that are installed in the chassis.

Examples

The following example retrieves information about all managed chassis.

$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred

$chassis = Get-LXCAChassis

Disconnect-LXCA