Skip to main content

Get-LXCAThinkServer

This cmdlet retrieves inventory data for one or more ThinkServer servers from the Lenovo XClarity Administrator server.

To retrieve information about Converged, System x, and NeXtScale servers, use the Get-LXCARackServer cmdlet.

Note
You cannot pipe objects to this cmdlet.

Syntax

Get-LXCAThinkServer [-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 ThinkServer servers. If no UUID is specified, the cmdlet returns all managed ThinkServer servers unless you also specify the -Unmanage parameter.
-Unmanaged
If specified, the cmdlet returns all ThinkServer servers that are not currently managed. If not specified, this cmdlet returns all managed ThinkServer 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 ThinkServer objects.

Examples

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

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

$thinkservers = Get-LXCAThinkServer

Disconnect-LXCA