Get-LXCAStorage

This cmdlet retrieves inventory data for one or more rack storage devices from the Lenovo XClarity Administrator server.

To retrieve inventory data Flex System storage devices, see theGet-LXCAStorageNode cmdlet.

Note: You cannot pipe objects to this cmdlet.

Syntax

Get-LXCAStorage [-Connection LXCAConnection] 
                [-Uuid String[]]
                [-Unmanaged]
                [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.
-Uuid String[]
Specifies the UUIDs of one or more rack storage devices. If no UUID is specified, the cmdlet returns all managed rack storage devices unless you also specify the -Unmanage parameter.
-Unmanaged
If specified, the cmdlet returns information for all rack storage devices that are not currently managed. If not specified, this cmdlet returns all managed rack storage devices.
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 Storage objects.

Examples

The following example retrieves a list of all managed rack storage devices.

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

$storage = Get-LXCAStroage

Disconnect-LXCA

Related links

Get-LXCAStorageNode