Add-CMDeploymentType

Add-CMDeploymentType

Adds a deployment type for an application.

Syntax

Parameter Set: AddDeploymentTypeByAndroidDeepLinkInstallerAuto
Add-CMDeploymentType -AndroidDeepLinkInstaller -ApplicationName <String> -AutoIdentifyFromInstallationFile -ForceForUnknownPublisher <Boolean> -InstallationFileLocation <String> [-AdministratorComment <String> ] [-DeploymentTypeName <String> ] [-Language <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByAndroidInstallerAuto
Add-CMDeploymentType -AndroidInstaller -ApplicationName <String> -AutoIdentifyFromInstallationFile -ForceForUnknownPublisher <Boolean> -InstallationFileLocation <String> [-AdministratorComment <String> ] [-DeploymentTypeName <String> ] [-Language <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByAppV5xInstallerAuto
Add-CMDeploymentType -ApplicationName <String> -AppV5xInstaller -AutoIdentifyFromInstallationFile -ForceForUnknownPublisher <Boolean> -InstallationFileLocation <String> [-AdministratorComment <String> ] [-AllowClientsToUseFallbackSourceLocationForContent <Boolean> ] [-DeploymentTypeName <String> ] [-Language <String[]> ] [-OnSlowNetworkMode <ContentHandlingMode> {DoNothing | Download | DownloadContentForStreaming} ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByAppvInstallerAuto
Add-CMDeploymentType -ApplicationName <String> -AppvInstaller -AutoIdentifyFromInstallationFile -ForceForUnknownPublisher <Boolean> -InstallationFileLocation <String> [-AdministratorComment <String> ] [-AllowClientsToUseFallbackSourceLocationForContent <Boolean> ] [-DeploymentTypeName <String> ] [-Language <String[]> ] [-OnFastNetworkMode <OnFastNetworkMode> {RunFromNetwork | RunLocal} ] [-OnSlowNetworkMode <ContentHandlingMode> {DoNothing | Download | DownloadContentForStreaming} ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByDeeplinkInstallerAuto
Add-CMDeploymentType -ApplicationName <String> -AutoIdentifyFromInstallationFile -DeeplinkInstaller -ForceForUnknownPublisher <Boolean> [-AdministratorComment <String> ] [-ApplicationNameInWindowsStore <String> ] [-DeploymentTypeName <String> ] [-InstallationFileLocation <String> ] [-Language <String[]> ] [-RemoteComputerName <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByiOSDeepLinkInstallerAuto
Add-CMDeploymentType -ApplicationName <String> -AutoIdentifyFromInstallationFile -ForceForUnknownPublisher <Boolean> -InstallationFileLocation <String> -iOSDeepLinkInstaller [-AdministratorComment <String> ] [-DeploymentTypeName <String> ] [-Language <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByiOSInstallerAuto
Add-CMDeploymentType -ApplicationName <String> -AutoIdentifyFromInstallationFile -ForceForUnknownPublisher <Boolean> -InstallationFileLocation <String> -iOSInstaller [-AdministratorComment <String> ] [-DeploymentTypeName <String> ] [-Language <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByMacInstallerAuto
Add-CMDeploymentType -ApplicationName <String> -AutoIdentifyFromInstallationFile -ForceForUnknownPublisher <Boolean> -InstallationFileLocation <String> -MacInstaller [-AdministratorComment <String> ] [-DeploymentTypeName <String> ] [-Language <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByMsiInstallerAuto
Add-CMDeploymentType -ApplicationName <String> -AutoIdentifyFromInstallationFile -ForceForUnknownPublisher <Boolean> -InstallationFileLocation <String> -MsiInstaller [-AdministratorComment <String> ] [-AllowClientsToUseFallbackSourceLocationForContent <Boolean> ] [-DeploymentTypeName <String> ] [-InstallationBehaviorType <InstallationBehaviorType> {InstallForSystem | InstallForSystemIfResourceIsDeviceOtherwiseInstallForUser | InstallForUser} ] [-InstallationProgram <String> ] [-Language <String[]> ] [-OnSlowNetworkMode <ContentHandlingMode> {DoNothing | Download | DownloadContentForStreaming} ] [-RunInstallationProgramAs32BitProcessOn64BitClient <Boolean> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByMsiInstallerManual
Add-CMDeploymentType -ApplicationName <String> -DeploymentTypeName <String> -DetectDeploymentTypeByCustomScript -InstallationProgram <String> -ManualSpecifyDeploymentType -MsiInstaller -ScriptContent <String> -ScriptType <ScriptLanguage> [-AdministratorComment <String> ] [-AllowClientsToShareContentOnSameSubnet <Boolean> ] [-AllowClientsToUseFallbackSourceLocationForContent <Boolean> ] [-ContentLocation <String> ] [-EstimatedInstallationTimeMinutes <Int32> ] [-InstallationBehaviorType <InstallationBehaviorType> {InstallForSystem | InstallForSystemIfResourceIsDeviceOtherwiseInstallForUser | InstallForUser} ] [-InstallationProgramVisibility <UserInteractionMode> {Normal | Minimized | Maximized | Hidden} ] [-InstallationStartIn <String> ] [-Language <String[]> ] [-LogonRequirementType <LogonRequirementType> {OnlyWhenNoUserLoggedOn | OnlyWhenUserLoggedOn | WhereOrNotUserLoggedOn | WhetherOrNotUserLoggedOn} ] [-MaximumAllowedRunTimeMinutes <Int32> ] [-OnSlowNetworkMode <ContentHandlingMode> {DoNothing | Download | DownloadContentForStreaming} ] [-PersistContentInClientCache <Boolean> ] [-RequiresUserInteraction <Boolean> ] [-RunInstallationProgramAs32BitProcessOn64BitClient <Boolean> ] [-RunScriptAs32bitProcessOn64bitClient <Boolean> ] [-UninstallProgram <String> ] [-UninstallStartIn <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByNokiaInstallerAuto
Add-CMDeploymentType -ApplicationName <String> -AutoIdentifyFromInstallationFile -ForceForUnknownPublisher <Boolean> -InstallationFileLocation <String> -NokiaInstaller [-AdministratorComment <String> ] [-DeploymentTypeName <String> ] [-Language <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByNokiaInstallerManual
Add-CMDeploymentType -ApplicationName <String> -ContentLocation <String> -DeploymentTypeName <String> -ManualSpecifyDeploymentType -NokiaInstaller [-AdministratorComment <String> ] [-Language <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByScriptInstallerManual
Add-CMDeploymentType -ApplicationName <String> -DeploymentTypeName <String> -DetectDeploymentTypeByCustomScript -InstallationProgram <String> -ManualSpecifyDeploymentType -ScriptContent <String> -ScriptInstaller -ScriptType <ScriptLanguage> [-AdministratorComment <String> ] [-AllowClientsToShareContentOnSameSubnet <Boolean> ] [-ContentLocation <String> ] [-EstimatedInstallationTimeMinutes <Int32> ] [-InstallationBehaviorType <InstallationBehaviorType> {InstallForSystem | InstallForSystemIfResourceIsDeviceOtherwiseInstallForUser | InstallForUser} ] [-InstallationProgramVisibility <UserInteractionMode> {Normal | Minimized | Maximized | Hidden} ] [-InstallationStartIn <String> ] [-Language <String[]> ] [-LogonRequirementType <LogonRequirementType> {OnlyWhenNoUserLoggedOn | OnlyWhenUserLoggedOn | WhereOrNotUserLoggedOn | WhetherOrNotUserLoggedOn} ] [-MaximumAllowedRunTimeMinutes <Int32> ] [-PersistContentInClientCache <Boolean> ] [-RequiresUserInteraction <Boolean> ] [-RunInstallationProgramAs32BitProcessOn64BitClient <Boolean> ] [-RunScriptAs32bitProcessOn64bitClient <Boolean> ] [-UninstallProgram <String> ] [-UninstallStartIn <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByWebAppInstallerAuto
Add-CMDeploymentType -ApplicationName <String> -AutoIdentifyFromInstallationFile -WebAppInstaller -WebAppURL <String> [-AdministratorComment <String> ] [-DeploymentTypeName <String> ] [-Language <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByWindows8AppInstallerAuto
Add-CMDeploymentType -ApplicationName <String> -AutoIdentifyFromInstallationFile -ForceForUnknownPublisher <Boolean> -InstallationFileLocation <String> -Windows8AppInstaller [-AdministratorComment <String> ] [-AllowClientsToUseFallbackSourceLocationForContent <Boolean> ] [-DeploymentTypeName <String> ] [-Language <String[]> ] [-OnSlowNetworkMode <ContentHandlingMode> {DoNothing | Download | DownloadContentForStreaming} ] [-TriggerVPN <Boolean> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByWinPhone8DeeplinkInstallerAuto
Add-CMDeploymentType -ApplicationName <String> -AutoIdentifyFromInstallationFile -ForceForUnknownPublisher <Boolean> -InstallationFileLocation <String> -WinPhone8DeeplinkInstaller [-AdministratorComment <String> ] [-DeploymentTypeName <String> ] [-Language <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByWinPhone8InstallerAuto
Add-CMDeploymentType -ApplicationName <String> -AutoIdentifyFromInstallationFile -ForceForUnknownPublisher <Boolean> -InstallationFileLocation <String> -WinPhone8Installer [-AdministratorComment <String> ] [-DeploymentTypeName <String> ] [-Language <String[]> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByWMInstallerAuto
Add-CMDeploymentType -ApplicationName <String> -AutoIdentifyFromInstallationFile -ForceForUnknownPublisher <Boolean> -InstallationFileLocation <String> -WMInstaller [-AdministratorComment <String> ] [-AllowUsersToUninstallThisContent <Boolean> ] [-DeploymentTypeName <String> ] [-Language <String[]> ] [-PfxFileLocation <String> ] [-PfxFilePassword <SecureString> ] [-SignContentFile <Boolean> ] [-SignedContentFileLocation <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Parameter Set: AddDeploymentTypeByWMInstallerManual
Add-CMDeploymentType -ApplicationName <String> -ContentLocation <String> -DeploymentTypeName <String> -ManualSpecifyDeploymentType -WMInstaller [-AdministratorComment <String> ] [-AllowUsersToUninstallThisContent <Boolean> ] [-Language <String[]> ] [-PfxFileLocation <String> ] [-PfxFilePassword <SecureString> ] [-SignContentFile <Boolean> ] [-SignedContentFileLocation <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Add-CMDeploymentType cmdlet adds a deployment type for an application. A deployment type is contained within an application and contains the information that Microsoft System Center 2012 SP1 Configuration Manager requires to install software. A deployment type also contains rules that specify if and how the software is deployed.

Parameters

-AdministratorComment<String>

Specifies a description for the deployment type.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-AllowClientsToShareContentOnSameSubnet<Boolean>

Indicates whether clients can share content with other clients on the same subnet.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-AllowClientsToUseFallbackSourceLocationForContent<Boolean>

Indicates whether clients can use a fallback location provided by a management point. A fallback location point provides an alternate location for source content when the content for the deployment type is not available on any preferred distribution points.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-AllowUsersToUninstallThisContent<Boolean>

Indicates whether a user can uninstall the application.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-AndroidDeepLinkInstaller

Indicates that the deployment type configures application and deployment type information by specifying a link to the app on Google Play.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-AndroidInstaller

Indicates that the deployment type detects application information and deployment types from an app package for Android (.apk) file.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ApplicationName<String>

Specifies the name of the application that is associated with the deployment type.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ApplicationNameInWindowsStore<String>

Specifies the name of the application in the Windows Store.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

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.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-AppvInstaller

Indicates that the deployment detects application information and deployment types from an App-V 4.0 manifest .xml file.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-AutoIdentifyFromInstallationFile

Indicates that the deployment type extracts information from the content file.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ContentLocation<String>

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DeeplinkInstaller

Indicates that the deployment type detects application information and deployment types by providing a link to the application (in the Windows Store) on a computer where the application is already installed.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DeploymentTypeName<String>

Specifies the name of a deployment type.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-DetectDeploymentTypeByCustomScript

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-EstimatedInstallationTimeMinutes<Int32>

Specifies, in minutes, the estimated installation time.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ForceForUnknownPublisher<Boolean>

Indicates whether the deployment type requires file signature verification.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InstallationBehaviorType<InstallationBehaviorType>

Specifies the installation behavior of the deployment type. The acceptable values for this parameter are:

-- InstallForSystem
-- InstallForSystemIfResourceIsDeviceOtherwiseInstallForUser
-- InstallForUser

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InstallationFileLocation<String>

Specifies the path of the installation package.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InstallationProgram<String>

Specifies the command line for the Windows Installer package.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InstallationProgramVisibility<UserInteractionMode>

Specifies the mode in which the deployment type runs on client devices. The acceptable values for this parameter are:

-- Normal
-- Minimized
-- Maximized
-- Hidden

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-InstallationStartIn<String>

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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-iOSDeepLinkInstaller

Indicates that the deployment type configures application and deployment type information by specifying a link to the app in the App Store.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-iOSInstaller

Indicates that the deployment type detects application information and deployment types from an app package for iOS .ipa file.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Language<String[]>

Specifies an array of languages that the deployment type supports.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-LogonRequirementType<LogonRequirementType>

Specifies the logon requirement for the deployment type. The acceptable values for this parameter are:

-- OnlyWhenNoUserLoggedOn
-- OnlyWhenUserLoggedOn
-- WhereOrNotUserLoggedOn

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MacInstaller

Indicates that the deployment type detects application information and deployment types from a Mac OS X Installer (.cmmac) file that was created by using the CMAppUtil tool.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ManualSpecifyDeploymentType

Do not use. Configuration Manager does not currently use this parameter.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MaximumAllowedRunTimeMinutes<Int32>

Specifies, in minutes, the maximum time that the program is expected to run on the client computer.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-MsiInstaller

Indicates that the deployment type detects application information and deployment types from a Windows Installer (.msi) file.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-NokiaInstaller

Indicates that the deployment type detects application information and deployment types from a Nokia Symbian installation (.sis or .sisx) file.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-OnFastNetworkMode<OnFastNetworkMode>

Specifies the installation behavior of the deployment type on a fast network. The acceptable values for this parameter are:

-- RunFromNetwork
-- RunLocal

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-OnSlowNetworkMode<ContentHandlingMode>

Specifies the installation behavior of the deployment type on a slow network. The acceptable values for this parameter are:

-- DoNothing
-- Download
-- DownloadContentForStreaming

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-PersistContentInClientCache<Boolean>

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

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-PfxFileLocation<String>

Specifies the path of the Personal Information Exchange (PFX) file.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-PfxFilePassword<SecureString>

Specifies the password, as a secure string, for the PFX file.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-RemoteComputerName<String>

Specifies a remote computer name.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-RequiresUserInteraction<Boolean>

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

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-RunInstallationProgramAs32BitProcessOn64BitClient<Boolean>

Indicates whether the deployment type uses Microsoft Windows-32-on-Windows-64 (WOW64) subsystem to run the installation on a 64-bit client computer.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-RunScriptAs32bitProcessOn64bitClient<Boolean>

Indicates whether the deployment type uses Microsoft Windows-32-on-Windows-64 (WOW64) subsystem to run a script on a 64-bit client computer.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ScriptContent<String>

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ScriptInstaller

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-ScriptType<ScriptLanguage>

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SignContentFile<Boolean>

Indicates whether the deployment type requires a signed content file.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-SignedContentFileLocation<String>

Specifies the path of the signed content file.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-TriggerVPN<Boolean>

Indicates whether this cmdlet uses a trigger VPN.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-UninstallProgram<String>

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

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-UninstallStartIn<String>

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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-WebAppInstaller

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-WebAppURL<String>

Specifies the link, as a URL, to the web app for the deployment.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-Windows8AppInstaller

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-WinPhone8DeeplinkInstaller

Indicates that the deployment type configures application and deployment type information by specifying a link to the app in the Windows Phone Store.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-WinPhone8Installer

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

True (ByPropertyName)

Accept Wildcard Characters?

false

-WMInstaller

Indicates that the deployment type detects application information and deployment types from a Windows Mobile cabinet (.cab) file.

Aliases

none

Required?

true

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: Add an Windows Installer deployment type to an application

This command adds a Windows Installer deployment type for the application named App01d2012. The command uses the AutoIdentifyFromIntallationFile parameter to extract information about the deployment type from the content file, and specifies the path of the installation package. The command uses the ForceForUnknownPublisher parameter to specify that the deployment type verifies the signature of the content file.

PS C:\> Add-CMDeploymentType -MsiInstaller -ApplicationName "App01d2012" -AutoIdentifyFromIntallationFile -InstallationFileLocation "\\CMCEN\D02\Software\RDCMan.msi" -ForceForUnknownPublisher $True

Example 2: Add a deployment type that uses a script

This command adds a Windows Installer deployment type for the application named App02d2012. The command specifies the name Type01 for the deployment type. The command adds a description for the deployment type, and specifies that the deployment type supports Afrikaans and Arabic. The command uses the InstallationProgram to specify the command line for the Windows Installer.

The command specifies that the deployment type uses a custom script to detect the presence of this deployment type. The command specifies that the script type is VBScript and specifies the script language that you will use to detect the deployment type. The command specifies that the deployment type uses Microsoft Windows-32-on-Windows-64 (WOW64) subsystem to run a script on a 64-bit client computer.

PS C:\> Add-CMDeploymentType -ApplicationName "App02d2012" -MsiInstaller -DeploymentTypeName "Type01" -AdministratorComment "Div A script" -Language Afrikaans,Arabic -InstallationProgram 'msiexec /i "\\atd-dist01\Public\CM\DTeam\FeatureData\OSD\Tbreck\Setup1.msi"' -DetectDeploymentTypeByCustomScript -ScriptType VBScript -ScriptContent "1231231" -RunScriptAs32bitProcessOn64bitClient $True

Get-CMDeploymentType

Remove-CMDeploymentType

Set-CMDeploymentType