Start-​CM​Application​Deployment​Simulation

Starts an application deployment simulation in Configuration Manager.

Syntax

Start-CMApplicationDeploymentSimulation
     -CollectionName <String>
     [-Confirm]
     [-DeploymentAction <DeployActionType>]
     [-DisableWildcardHandling]
     [-ForceWildcardHandling]
     -Id <Int32>
     [-PreDeploy <Boolean>]
     [-WhatIf]
     [<CommonParameters>]
Start-CMApplicationDeploymentSimulation
     -CollectionName <String>
     [-Confirm]
     [-DeploymentAction <DeployActionType>]
     [-DisableWildcardHandling]
     [-ForceWildcardHandling]
     -InputObject <IResultObject>
     [-PreDeploy <Boolean>]
     [-WhatIf]
     [<CommonParameters>]
Start-CMApplicationDeploymentSimulation
     -CollectionName <String>
     [-Confirm]
     [-DeploymentAction <DeployActionType>]
     [-DisableWildcardHandling]
     [-ForceWildcardHandling]
     -Name <String>
     [-PreDeploy <Boolean>]
     [-WhatIf]
     [<CommonParameters>]

Description

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

Examples

Example 1: Start an application deployment simulation

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

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

Required Parameters

-CollectionName

Specifies a name for the target collection.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Id

Specifies an array of IDs.

Type:Int32
Aliases:CIId, CI_ID
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-InputObject

Specifies an application deployment object.

Type:IResultObject
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-Name

Specifies an array of names.

Type:String
Aliases:LocalizedDisplayName
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-DeploymentAction
Type:DeployActionType
Aliases:DeployAction
Parameter Sets:Install, Uninstall
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DisableWildcardHandling

DisableWildcardHandling treats wildcard characters as literal character values. Cannot be combined with ForceWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ForceWildcardHandling

ForceWildcardHandling processes wildcard characters and may lead to unexpected behavior (not recommended). Cannot be combined with DisableWildcardHandling.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-PreDeploy

Indicates whether to copy software to a device before installation.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False