Get-LXCAStorageNode

This cmdlet retrieves inventory data for one or more storage devices in a chassis.

To retrieve inventory data for rack storage devices, see theGet-LXCAStorage cmdlet.

Note: You can pipe Chassis objects to this cmdlet.

Syntax

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

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

Get-LXCAStorageNode [-Connection LXCAConnection] 
                    [-NodeUuid 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 one or more chassis. The cmdlet returns all storage devices in each chassis in the list. If no chassis is specified, the cmdlet returns all storage devices in all managed chassis.
Tip: To obtain the chassis list, use Get-LXCAChassis.
-ChassisUuid String[]
Specifies one or more chassis UUIDs. The cmdlet returns all storage devices in the specified chassis. If no chassis UUID is specified, the cmdlet returns all storage devices in all managed chassis.
-NodeUuid String[]
Specifies one or more storage-device UUIDs. If no UUID is specified, the cmdlet returns all storage devices in all 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 StorageNode objects.

Examples

The following example retrieves information about all storage devices that are installed in all discovered chassis.

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

$nodes = Get-LXCAStorageNode

Disconnect-LXCA

Related links