Get-LXCAConfigProfile

This cmdlet retrieves one or more server profiles from the Lenovo XClarity Administrator server.

Note: You cannot pipe objects to this cmdlet.

Syntax

Get-LXCAConfigProfile [-Connection LXCAConnection]
                      [-ProfileID String[]]
                      [CommonParameter]

Get-LXCAConfigProfile [-Connection LXCAConnection]
                      [-PatternID 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.
-ProfileID String[]
Specifies one or more server profile IDs. If a server profile ID is not specified, all server profiles are returned.
-PatternID String[]
Specifies one or more the server pattern IDs. If a server pattern ID is not specified, all server profiles for the specified patterns are returned.
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 ConfigProfile objects.

Examples

The following example retrieves information about all server profiles defined in XClarity Administrator.

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

$profiles = Get-LXCAConfigProfile

Disconnect-LXCA

Related links