Get-LXCAChassisInventory

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.

Syntax

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

Get-LXCAChassisInventory [-Connection Connection] 
                          -ChassisUuid String[]
                         [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.
-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.
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 ChassisInventory objects that contain the chassis inventory data.

Examples

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

Related links