Set-CMDeploymentType

Change a deployment type for a Configuration Manager application.

Syntax

Set-CMDeploymentType
   -InputObject <IResultObject>
   [-PassThru]
   [-Priority <PriorityChangeType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   -ApplicationName <String>
   [-ClearRequirements]
   [-ContentLocation <String>]
   -DeploymentTypeName <String>
   [-DetectDeploymentTypeByCustomScript]
   [-EnableBranchCache <Boolean>]
   [-EnableContentLocationFallback <Boolean>]
   [-EstimatedInstallationTimeMins <Int32>]
   [-Force32BitDetectionScript <Boolean>]
   [-Force32BitInstaller <Boolean>]
   [-InstallationBehaviorType <InstallationBehaviorType>]
   [-InstallationProgram <String>]
   [-InstallationProgramVisibility <UserInteractionMode>]
   [-InstallationStartIn <String>]
   [-Language <String[]>]
   [-LogonRequirementType <LogonRequirementType>]
   [-MaximumAllowedRunTimeMins <Int32>]
   [-MsiOrScriptInstaller]
   [-NewDeploymentTypeName <String>]
   [-OnSlowNetworkMode <ContentHandlingMode>]
   [-PassThru]
   [-PersistContentInClientCache <Boolean>]
   [-ProductCode <String>]
   [-RebootBehavior <RebootBehavior>]
   [-RemoveRequirement <Rule[]>]
   [-RequireUserInteraction <Boolean>]
   [-ScriptContent <String>]
   [-ScriptType <ScriptLanguage>]
   [-SourceUpdateProductCode <String>]
   [-UninstallProgram <String>]
   [-UninstallStartIn <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   -ApplicationName <String>
   [-ClearRequirements]
   [-ContentLocation <String>]
   -DeploymentTypeName <String>
   [-Language <String[]>]
   [-NewDeploymentTypeName <String>]
   [-PassThru]
   [-RemoveRequirement <Rule[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   -ApplicationName <String>
   [-ClearRequirements]
   [-ContentLocation <String>]
   -DeploymentTypeName <String>
   [-EnableBranchCache <Boolean>]
   [-EnableContentLocationFallback <Boolean>]
   [-Language <String[]>]
   [-MaximumAllowedRunTimeMins <Int32>]
   [-NewDeploymentTypeName <String>]
   [-OnSlowNetworkMode <ContentHandlingMode>]
   [-PassThru]
   [-PersistContentInClientCache <Boolean>]
   [-RemoveRequirement <Rule[]>]
   [-TriggerVpn <Boolean>]
   [-Windows8AppInstaller]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   -ApplicationName <String>
   [-AppV5xInstaller]
   [-ClearRequirements]
   -DeploymentTypeName <String>
   [-EnableContentLocationFallback <Boolean>]
   [-EnablePeerToPeerContentDistribution <Boolean>]
   [-Language <String[]>]
   [-NewDeploymentTypeName <String>]
   [-OnFastNetworkMode <OnFastNetworkMode>]
   [-OnSlowNetworkMode <ContentHandlingMode>]
   [-PassThru]
   [-PersistContentInClientCache <Boolean>]
   [-RemoveRequirement <Rule[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   -ApplicationName <String>
   [-AppVInstaller]
   [-ClearRequirements]
   -DeploymentTypeName <String>
   [-EnableContentLocationFallback <Boolean>]
   [-EnablePeerToPeerContentDistribution <Boolean>]
   [-Language <String[]>]
   [-LoadContentIntoAppVCacheBeforeLaunch <Boolean>]
   [-NewDeploymentTypeName <String>]
   [-OnFastNetworkMode <OnFastNetworkMode>]
   [-OnSlowNetworkMode <ContentHandlingMode>]
   [-PassThru]
   [-PersistContentInClientCache <Boolean>]
   [-RemoveRequirement <Rule[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   -ApplicationName <String>
   [-ClearRequirements]
   [-ContentLocation <String>]
   -DeploymentTypeName <String>
   [-InstallationProgram <String>]
   [-Language <String[]>]
   [-MacInstaller]
   [-MacRebootBehavior <MacRebootBehavior>]
   [-NewDeploymentTypeName <String>]
   [-PassThru]
   [-RemoveRequirement <Rule[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   -ApplicationName <String>
   [-ClearRequirements]
   [-ContentLocation <String>]
   -DeploymentTypeName <String>
   [-EnableUserUninstall <Boolean>]
   [-Language <String[]>]
   [-NewDeploymentTypeName <String>]
   [-PassThru]
   [-RemoveRequirement <Rule[]>]
   [-WindowsMobileInstaller]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   -ApplicationName <String>
   [-ApplicationNameInWindowsStore <String>]
   [-ClearRequirements]
   -DeploymentTypeName <String>
   [-Language <String[]>]
   [-MaximumAllowedRunTimeMins <Int32>]
   [-NewDeploymentTypeName <String>]
   [-PassThru]
   [-RemoteComputerName <String>]
   [-RemoveRequirement <Rule[]>]
   [-WindowsStoreInstaller]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   -ApplicationName <String>
   [-ClearRequirements]
   -DeploymentTypeName <String>
   [-Language <String[]>]
   [-NewDeploymentTypeName <String>]
   [-PassThru]
   [-RemoveRequirement <Rule[]>]
   [-WebAppInstaller]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   -ApplicationName <String>
   [-ClearRequirements]
   [-ContentLocation <String>]
   -DeploymentTypeName <String>
   [-InstallationCommandLine <String>]
   -Language <String[]>
   [-MobileMsiInstaller]
   [-NewDeploymentTypeName <String>]
   [-PassThru]
   [-RemoveRequirement <Rule[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   [-ClearRequirements]
   [-ContentLocation <String>]
   -InputObject <IResultObject>
   [-InstallationCommandLine <String>]
   -Language <String[]>
   [-MobileMsiInstaller]
   [-NewDeploymentTypeName <String>]
   [-PassThru]
   [-RemoveRequirement <Rule[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   [-ClearRequirements]
   [-ContentLocation <String>]
   [-DetectDeploymentTypeByCustomScript]
   [-EnableBranchCache <Boolean>]
   [-EnableContentLocationFallback <Boolean>]
   [-EstimatedInstallationTimeMins <Int32>]
   [-Force32BitDetectionScript <Boolean>]
   [-Force32BitInstaller <Boolean>]
   -InputObject <IResultObject>
   [-InstallationBehaviorType <InstallationBehaviorType>]
   [-InstallationProgram <String>]
   [-InstallationProgramVisibility <UserInteractionMode>]
   [-InstallationStartIn <String>]
   [-Language <String[]>]
   [-LogonRequirementType <LogonRequirementType>]
   [-MaximumAllowedRunTimeMins <Int32>]
   [-MsiOrScriptInstaller]
   [-NewDeploymentTypeName <String>]
   [-OnSlowNetworkMode <ContentHandlingMode>]
   [-PassThru]
   [-PersistContentInClientCache <Boolean>]
   [-ProductCode <String>]
   [-RebootBehavior <RebootBehavior>]
   [-RemoveRequirement <Rule[]>]
   [-RequireUserInteraction <Boolean>]
   [-ScriptContent <String>]
   [-ScriptType <ScriptLanguage>]
   [-SourceUpdateProductCode <String>]
   [-UninstallProgram <String>]
   [-UninstallStartIn <String>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   [-ClearRequirements]
   [-ContentLocation <String>]
   -InputObject <IResultObject>
   [-Language <String[]>]
   [-NewDeploymentTypeName <String>]
   [-PassThru]
   [-RemoveRequirement <Rule[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   [-ClearRequirements]
   [-ContentLocation <String>]
   [-EnableBranchCache <Boolean>]
   [-EnableContentLocationFallback <Boolean>]
   -InputObject <IResultObject>
   [-Language <String[]>]
   [-MaximumAllowedRunTimeMins <Int32>]
   [-NewDeploymentTypeName <String>]
   [-OnSlowNetworkMode <ContentHandlingMode>]
   [-PassThru]
   [-PersistContentInClientCache <Boolean>]
   [-RemoveRequirement <Rule[]>]
   [-TriggerVpn <Boolean>]
   [-Windows8AppInstaller]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   [-AppV5xInstaller]
   [-ClearRequirements]
   [-EnableContentLocationFallback <Boolean>]
   [-EnablePeerToPeerContentDistribution <Boolean>]
   -InputObject <IResultObject>
   [-Language <String[]>]
   [-NewDeploymentTypeName <String>]
   [-OnFastNetworkMode <OnFastNetworkMode>]
   [-OnSlowNetworkMode <ContentHandlingMode>]
   [-PassThru]
   [-PersistContentInClientCache <Boolean>]
   [-RemoveRequirement <Rule[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   [-AppVInstaller]
   [-ClearRequirements]
   [-EnableContentLocationFallback <Boolean>]
   [-EnablePeerToPeerContentDistribution <Boolean>]
   -InputObject <IResultObject>
   [-Language <String[]>]
   [-LoadContentIntoAppVCacheBeforeLaunch <Boolean>]
   [-NewDeploymentTypeName <String>]
   [-OnFastNetworkMode <OnFastNetworkMode>]
   [-OnSlowNetworkMode <ContentHandlingMode>]
   [-PassThru]
   [-PersistContentInClientCache <Boolean>]
   [-RemoveRequirement <Rule[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   [-ClearRequirements]
   [-ContentLocation <String>]
   -InputObject <IResultObject>
   [-InstallationProgram <String>]
   [-Language <String[]>]
   [-MacInstaller]
   [-MacRebootBehavior <MacRebootBehavior>]
   [-NewDeploymentTypeName <String>]
   [-PassThru]
   [-RemoveRequirement <Rule[]>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   [-ClearRequirements]
   [-ContentLocation <String>]
   [-EnableUserUninstall <Boolean>]
   -InputObject <IResultObject>
   [-Language <String[]>]
   [-NewDeploymentTypeName <String>]
   [-PassThru]
   [-RemoveRequirement <Rule[]>]
   [-WindowsMobileInstaller]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   [-ApplicationNameInWindowsStore <String>]
   [-ClearRequirements]
   -InputObject <IResultObject>
   [-Language <String[]>]
   [-MaximumAllowedRunTimeMins <Int32>]
   [-NewDeploymentTypeName <String>]
   [-PassThru]
   [-RemoteComputerName <String>]
   [-RemoveRequirement <Rule[]>]
   [-WindowsStoreInstaller]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   [-ClearRequirements]
   -InputObject <IResultObject>
   [-Language <String[]>]
   [-NewDeploymentTypeName <String>]
   [-PassThru]
   [-RemoveRequirement <Rule[]>]
   [-WebAppInstaller]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   -ApplicationName <String>
   [-ClearRequirements]
   [-ContentLocation <String>]
   -DeploymentTypeName <String>
   [-Language <String[]>]
   [-NewDeploymentTypeName <String>]
   [-PassThru]
   [-RemoveRequirement <Rule[]>]
   [-WindowsPhoneStoreInstaller]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   [-AddRequirement <Rule[]>]
   [-AdministratorComment <String>]
   [-ClearRequirements]
   [-ContentLocation <String>]
   -InputObject <IResultObject>
   [-Language <String[]>]
   [-NewDeploymentTypeName <String>]
   [-PassThru]
   [-RemoveRequirement <Rule[]>]
   [-WindowsPhoneStoreInstaller]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   -ApplicationName <String>
   -DeploymentTypeName <String>
   [-PassThru]
   [-Priority <PriorityChangeType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CMDeploymentType
   -ApplicationName <String>
   -DeploymentTypeId <Int32>
   [-PassThru]
   [-Priority <PriorityChangeType>]
   [-DisableWildcardHandling]
   [-ForceWildcardHandling]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Set-CMDeploymentType cmdlet changes a deployment type for an application in Configuration Manager. A deployment type is a part of the application that defines how that application installs on devices.

You can also use this cmdlet to change the priority for dependencies of the deployment type. Configuration Manager evaluates and installs dependencies of a deployment type in order of priorities before it installs the deployment type.

For more information, see Introduction to application management - Deployment types.

Note

Run Configuration Manager cmdlets from the Configuration Manager site drive, for example PS XYZ:\>. For more information, see getting started.

Examples

Example 1: Increase the priority of a deployment application

This command configures a deployment type named Configuration Manager Console - Windows Installer (Native) for a application named 2 - Child and increases the priority of that application.

Set-CMDeploymentType -ApplicationName "2 - Child" -DeploymentTypeName "Configuration Manager Console - Windows Installer (Native)" -Priority Increase

Parameters

-AddRequirement

Adds an array of requirements for this deployment type.

Type:Rule[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-AdministratorComment

Specifies a description for the deployment type.

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

-ApplicationName

Specifies the name of the deployment application that contains the deployment type.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ApplicationNameInWindowsStore

Specifies the name of the application in the Windows Store.

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

-AppV5xInstaller

Indicates that the deployment type detects application information and deployment types from a Application Virtualization (App-V) 5.0 .appv package file.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-AppVInstaller

Indicates that the deployment type detects application information and deployment types from an App-V .appv package file.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ClearRequirements

Indicates that this cmdlet clears the deployment type requirements.

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

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-ContentLocation

Specifies the path of the content. The site system server requires permission to read the content files.

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

-DeploymentTypeId

Specifies the type ID for a deployment type.

Type:Int32
Aliases:CIId, CI_ID, Id
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-DeploymentTypeName

Specifies the name of a deployment type.

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

-DetectDeploymentTypeByCustomScript

Indicates that the deployment type uses a custom script to detect the presence of this deployment type.

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

-DisableWildcardHandling

This parameter treats wildcard characters as literal character values. You can't combine it with ForceWildcardHandling.

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

-EnableBranchCache

Indicates that clients that use Windows BranchCache are allowed to download content from an on-premises distribution point. Content downloads from cloud-based distribution points can always be shared by clients that use Windows BranchCache.

Type:Boolean
Aliases:AllowClientsToShareContentOnSameSubnet
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EnableContentLocationFallback

Indicate whether allows clients to use fall back source location for the content.

Type:Boolean
Aliases:AllowClientsToUseFallbackSourceLocationForContent
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EnablePeerToPeerContentDistribution

Indicates whether clients can distribute content to other clients.

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

-EnableUserUninstall

Indicate whether to enable user uninstall.

Type:Boolean
Aliases:AllowUserToUninstall, AllowsUsersToUninstallThisContent
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-EstimatedInstallationTimeMins

Specifies an estimated installation time in minutes.

Type:Int32
Aliases:EstimatedInstallationTimeMinutes
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Force32BitDetectionScript

Indicates whether to run script as 32-bit process on 64-bit clients.

Type:Boolean
Aliases:RunScriptAs32BitProcessOn64BitClient
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Force32BitInstaller

Indicates whether to run installer as 32-bit process on 64-bit clients.

Type:Boolean
Aliases:RunInstallationAndUninstallProgramAs32BitProcessOn64BitClient
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ForceWildcardHandling

This parameter processes wildcard characters and may lead to unexpected behavior (not recommended). You can't combine it with DisableWildcardHandling.

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

-InputObject

Specifies a deployment type object for Configuration Manager. To obtain a deployment type object, use the Get-CMDeploymentType cmdlet.

Type:IResultObject
Aliases:DeploymentType
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-InstallationBehaviorType

Specifies the installation behavior of the deployment type.

Type:InstallationBehaviorType
Accepted values:InstallForUser, InstallForSystem, InstallForSystemIfResourceIsDeviceOtherwiseInstallForUser
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InstallationCommandLine

Specify the command line to install the application.

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

-InstallationProgram

Specifies the command line for the Windows Installer.

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

-InstallationProgramVisibility

Specifies the mode in which the deployment type runs on client devices.

Type:UserInteractionMode
Accepted values:Normal, Minimized, Maximized, Hidden
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-InstallationStartIn

Specifies the folder that contains the installation program for the deployment type. This folder can be an absolute path on the client, or a path to the distribution point folder that contains the installation files.

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

-Language

Specifies an array of languages that the deployment type supports.

Type:String[]
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-LoadContentIntoAppVCacheBeforeLaunch

Indicates whether to load the content into the AppV cache when you deploy the application.

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

-LogonRequirementType

Specifies the logon requirement for the deployment type.

Type:LogonRequirementType
Accepted values:OnlyWhenUserLoggedOn, WhereOrNotUserLoggedOn, WhetherOrNotUserLoggedOn, OnlyWhenNoUserLoggedOn
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-MacInstaller

Indicates that the deployment type detects application information and deployment types from a macOS installer (.cmmac) file that was created by using the CMAppUtil tool.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-MacRebootBehavior

Specifies the reboot behavior for computers running macOS.

Type:MacRebootBehavior
Accepted values:NoAction, ForceReboot
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-MaximumAllowedRunTimeMins

Specifies the maximum run time in minutes.

Type:Int32
Aliases:MaximumAllowedRunTimeMinutes
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-MobileMsiInstaller

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-MsiOrScriptInstaller

Indicates that the deployment uses a script installer program.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-NewDeploymentTypeName

Specifies the name of a new deployment type.

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

-OnFastNetworkMode

Specifies the installation behavior of the deployment type on a fast network.

Type:OnFastNetworkMode
Accepted values:RunLocal, RunFromNetwork, DownloadContentForStreaming
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-OnSlowNetworkMode

Specifies the installation behavior of the deployment type on a slow network.

Type:ContentHandlingMode
Accepted values:DoNothing, Download, DownloadContentForStreaming
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PassThru

Returns the current working object. By default, this cmdlet doesn't generate any output.

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

-PersistContentInClientCache

Indicates whether the deployment type saves content in cache indefinitely on the client computer.

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

-Priority

Specifies a change for the priority of the deployment type.

Type:PriorityChangeType
Accepted values:Increase, Decrease
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ProductCode

Specifies the product code in the detection method for the deployment type.

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

-RebootBehavior

Specifies the reboot behavior of the client computer.

Type:RebootBehavior
Accepted values:BasedOnExitCode, NoAction, ProgramReboot, ForceReboot
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RemoteComputerName

Specifies a remote computer name.

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

-RemoveRequirement

Removes the existing installation requirements from this deployment type.

Type:Rule[]
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-RequireUserInteraction

Indicates whether a user can interact with the deployment type installation to configure the installation options.

Type:Boolean
Aliases:RequiresUserInteraction
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-ScriptContent

Specifies the script to detect the deployment type.

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

-ScriptType

Specifies the script language that you want to use to detect the deployment type.

Type:ScriptLanguage
Accepted values:PowerShell, VBScript, JavaScript
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-SourceUpdateProductCode

Specifies the Windows Installer product code to enable installation source management. Windows Source management enables an MSI represented by this deployment type to be automatically updated or repaired from content source files on an available distribution point.

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

-TriggerVpn

Indicates that a virtual private network (VPN) connection is used automatically.

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

-UninstallProgram

Specifies the name of the uninstall program and any parameters it requires.

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

-UninstallStartIn

Specifies the folder that contains the uninstall program for the deployment type. This folder can be an absolute path on the client, or a path that is relative to the distribution point folder that contains the package.

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

-WebAppInstaller

Indicates that this cmdlet uses a web application installer for the deployment.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet doesn't run.

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

-Windows8AppInstaller

Indicates that the deployment type detects application information and deployment types from a Windows app package (.appx) file.

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WindowsMobileInstaller

Type:SwitchParameter
Aliases:WMInstaller
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WindowsPhoneStoreInstaller

Type:SwitchParameter
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WindowsStoreInstaller

Type:SwitchParameter
Aliases:DeepLinkInstaller
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

Outputs

IResultObject

Notes

To configure return codes on a deployment type, use the Add-CMDeploymentTypeReturnCode cmdlet.