Get-LXCADeployableServer
This cmdlet retrieves a list of servers that are ready for operating-system deployment.
Use this cmdlet to determine if an operating system can be deployed to a server.
Note
You cannot pipe objects to this cmdlet.
Syntax
Get-LXCADeployableServer [-Connection LXCAConnection]
[-Uuid String[]]
[CommonParameter]
Get-LXCADeployableServer [-Connection LXCAConnection]
[-ImageID 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.
- -Uuid String[]
- Specifies of one or more server UUIDs. If no UUID is specified, all deployable servers are returned.
- -ImageID String
- Specifies the ID of an operating-system image that can be deployed to target servers. If no image ID is specified, all deployable servers 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 DeployableServer objects.
Examples
The following example retrieves a list of all deployable servers.
$cred = Get-Credential
Connect-LXCA -Host 192.0.2.0 -Credential $cred
$servers= Get-LXCADeployableServer
Disconnect-LXCA
Related links
Give documentation feedback