Skip to main content

Get-LXCARackServer

This cmdlet retrieves inventory data for one or more Converged, System x, and NeXtScale servers from the Lenovo XClarity Administrator server.

To retrieve information about ThinkServer servers, use the Get-LXCAThinkServer cmdlet.

Note
You cannot pipe objects to this cmdlet.

Syntax

Get-LXCARackServer [-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 one or more UUIDs of rack servers. If no UUID is specified, the cmdlet returns all managed rack x servers unless you also specify the -Unmanage parameter.
-Unmanaged
If specified, the cmdlet returns all rack servers that are not currently managed. If not specified, this cmdlet returns all managed rack servers.
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 RackServer objects.

Examples

The following example retrieves a list of all managed rack servers.

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

$rackservers = Get-LXCARackServer

Disconnect-LXCA