Get-LXCARack

This cmdlet retrieves information about one or more racks.

Note: You cannot pipe objects to this cmdlet.

Syntax

Get-LXCARack [-Connection LXCAConnection] 
             [-RackUuid 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.
-RackUuid String []
Specifies the UUIDs of one or more racks. If no UUID specified, this cmdlet returns information about all racks.
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 Rack objects.

Examples

The following example retrieves information about the rack with UUID AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.

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

$rack = Get-LXCARack -RackUuid AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA

Disconnect-LXCA

Related links