powersupplies

This command retrieves inventory data about all power supplies in managed devices, all power supplies in a specific chassis, or a specific power supply.

Syntax

powersupplies  -h

powersupplies  [-u <power_supply_UUID>] [-c <chassis_UUID>] [-v <filter>]

Options

{-h | --help}
Displays the syntax and brief usage information for this command.
{-c | --chassis} <chassis_UUID>
Specifies the UUID of a managed chassis. This command returns inventory data for all power supplies in the chassis.
{-u | --uuid} <power_supply_UUID>
Specifies the UUID of a power supply. If a UUID is not specified, this command returns inventory data for all power supplies in managed devices.
{-v | --view} <filter>
Identifies the view to use for the returned data. If a filter is not specified, the default view is used.

You can also create custom views (see Creating custom views).

Examples

The following example returns inventory data for all fans in managed devices.

connect --url https://192.0.2.0 --user ADMIN --noverify
powersupplies

Related links