Get-LXCAConfigPatternDeployableServer
This cmdlet retrieves a list of deployable rack servers and Flex System compute nodes that meet the criteria for a server pattern or profile.
Note
You cannot pipe objects to this cmdlet.
Syntax
Get-LXCAConfigPatternDeployableServer [-Connection LXCAConnection]
-PatternID String
[CommonParameter]
Get-LXCAConfigPatternDeployableServer [-Connection LXCAConnection]
-ProfileID 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.
- -PatternID String
- Specifies a server pattern ID. You can obtain a list of all server pattern IDs using the Get-LXCAConfigPattern cmdlet.
- -ProfileID String
- Specifies a server profile ID. You can obtain a list of all server profile IDs using the Get-LXCAConfigProfile cmdlet.
- 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 LXCAConfigPatternDeployableTarget objects.
Examples
The following example retrieves a list of deployable servers based on a server pattern ID.
$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred
$patterns = Get-LXCAConfigPattern
$chassis = Get-LXCAConfigPatternDeployableServer -PatternID $patterns[0].Id
$chassis[0].Servers
Disconnect-LXCA
Related links
Give documentation feedback