This cmdlet retrieves inventory data about one or more chassis from the Lenovo XClarity Administrator server.
Get-LXCAChassisInventory [-Connection LXCAConnection]
-Chassis Chassis[]
[CommonParameter]
Get-LXCAChassisInventory [-Connection Connection]
-ChassisUuid String[]
[CommonParameter]
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 192.0.2.0 -Credential $cred
$chassis = Get-LXCAChassis
$chassisInventory= Get-LXCAChassisInventory -Chassis $chassis
Disconnect-LXCA