Install-LXCAOSImage

This cmdlet deploys an operating-system image to one or more target devices.

Note: You cannot pipe objects to this cmdlet.

Syntax

Install-LXCAOSImage [-Connection Connection] 
                     -DeployTask DeployTask[] 
                    [-AsJob]
                    [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.
-DeployTask DeployTask[]
Specifies one or more deployment tasks. The list is created from theNew-LXCADeployTask cmdlet.
-AsJob
When specified, the cmdlet runs as background job and returns a Job object immediately.
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

If the -AsJob parameter is specified, this cmdlet returns a Job object. The DeployResult objects can be retrieved from Job.Output.

If you do not specify the -AsJob parameter, this cmdlet returns one or more DeployResult objects.

Examples

Related links

New-LXCADeployTask