Start-CMApplicationDeploymentSimulation

Start-CMApplicationDeploymentSimulation

Starts an application deployment simulation in Configuration Manager.

Syntax

Parameter Set: SearchByNameMandatory
Start-CMApplicationDeploymentSimulation -CollectionName <String> -Name <String[]> [-DeployAction <DeployActionType> {Install | Uninstall} ] [-PreDeploy <Boolean> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByIdMandatory
Start-CMApplicationDeploymentSimulation -CollectionName <String> -Id <String[]> [-DeployAction <DeployActionType> {Install | Uninstall} ] [-PreDeploy <Boolean> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: SearchByValueMandatory
Start-CMApplicationDeploymentSimulation -CollectionName <String> -InputObject <IResultObject> [-DeployAction <DeployActionType> {Install | Uninstall} ] [-PreDeploy <Boolean> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Start-CMApplicationDeploymentSimulation cmdlet starts an application deployment. Use simulated deployment to test an application deployment without installing an application.

Parameters

-CollectionName<String>

Specifies a name for the target collection.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DeployAction<DeployActionType>

Specifies the action to take. The values for this parameter are:

-- Install. Install the application.
-- Uninstall. Uninstall the application.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Id<String[]>

Specifies an array of IDs.

Aliases

CIId

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InputObject<IResultObject>

Specifies an application deployment object.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Name<String[]>

Specifies an array of names.

Aliases

LocalizedDisplayName

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-PreDeploy<Boolean>

Specifies whether to copy software to a device prior to installation.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

Examples

Example 1: Start an application deployment simulation

This command starts a deployment simulation of the installation of the application named WIN8_UPDATE2 for the target collection named All Mobile Devices.

PS C:\> Start-CMApplicationDeploymentSimulation -CollectionName "All Mobile Devices" -Name "WIN8_UPDATE2" -DeployAction Install

Start-CMApplicationDeployment

Set-CMApplicationDeployment