This cmdlet retrieves inventory data about one or more chassis from the Lenovo XClarity Administrator server.

Note: You can pipe Chassis objects to this cmdlet.


Get-LXCAChassisInventory [-Connection LXCAConnection] 
                          -Chassis Chassis[]

Get-LXCAChassisInventory [-Connection Connection] 
                          -ChassisUuid String[]


-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.
-Chassis Chassis[]
Specifies a list of chassis. The cmdlet returns the inventory data for each chassis in the list.
Tip: To obtain the chassis list, use Get-LXCAChassis.
-ChassisUuid String[]
Specifies one or more UUIDs of chassis. The cmdlet returns the inventory data from the specified chassis.
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.


This cmdlet returns one or more ChassisInventory objects that contain the chassis inventory data.


The following example retrieves inventory details for all managed chassis.

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

$chassis = Get-LXCAChassis
$chassisInventory= Get-LXCAChassisInventory -Chassis $chassis


Related links