Skip to content

Latest commit

 

History

History
1237 lines (961 loc) · 36.3 KB

Add-CMDeploymentType.md

File metadata and controls

1237 lines (961 loc) · 36.3 KB
description external help file Module Name ms.date schema title
Adds a deployment type for a Configuration Manager deployment application. This cmdlet is deprecated.
AdminUI.PS.dll-Help.xml
ConfigurationManager
01/02/2019
2.0.0
Add-CMDeploymentType

Add-CMDeploymentType

SYNOPSIS

Adds a deployment type for a Configuration Manager deployment application. This cmdlet is deprecated.

SYNTAX

AddDeploymentTypeByMsiInstallerAuto (Default)

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 [-AutoIdentifyFromInstallationFile] -ContentLocation <String> [-DeploymentTypeName <String>]
 [-EnableContentLocationFallback <Boolean>] [-Force32BitInstaller <Boolean>]
 [-ForceForUnknownPublisher <Boolean>] [-InputObject <IResultObject>]
 [-InstallationBehaviorType <InstallationBehaviorType>] [-InstallationProgram <String>] [-Language <String[]>]
 [-MsiInstaller] [-OnSlowNetworkMode <ContentHandlingMode>] [-DisableWildcardHandling] [-ForceWildcardHandling]
 [-WhatIf] [-Confirm] [<CommonParameters>]

AddDeploymentTypeByAndroidInstallerAuto

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-AndroidInstaller]
 [-ApplicationName <String>] [-AutoIdentifyFromInstallationFile] -ContentLocation <String>
 [-DeploymentTypeName <String>] [-ForceForUnknownPublisher <Boolean>] [-InputObject <IResultObject>]
 [-Language <String[]>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

AddDeploymentTypeByAppV5xInstallerAuto

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 [-AppV5xInstaller] [-AutoIdentifyFromInstallationFile] -ContentLocation <String>
 [-DeploymentTypeName <String>] [-EnableContentLocationFallback <Boolean>]
 [-ForceForUnknownPublisher <Boolean>] [-InputObject <IResultObject>] [-Language <String[]>]
 [-OnFastNetworkMode <OnFastNetworkMode>] [-OnSlowNetworkMode <ContentHandlingMode>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

AddDeploymentTypeByAppvInstallerAuto

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 [-AppvInstaller] [-AutoIdentifyFromInstallationFile] -ContentLocation <String> [-DeploymentTypeName <String>]
 [-EnableContentLocationFallback <Boolean>] [-ForceForUnknownPublisher <Boolean>]
 [-InputObject <IResultObject>] [-Language <String[]>] [-OnFastNetworkMode <OnFastNetworkMode>]
 [-OnSlowNetworkMode <ContentHandlingMode>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
 [-Confirm] [<CommonParameters>]

AddDeploymentTypeByIosAppStoreInstallerAuto

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 [-AutoIdentifyFromInstallationFile] -ContentLocation <String> [-DeploymentTypeName <String>]
 [-ForceForUnknownPublisher <Boolean>] [-InputObject <IResultObject>] [-IosAppStoreInstaller]
 [-Language <String[]>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

AddDeploymentTypeByIosInstallerAuto

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 [-AutoIdentifyFromInstallationFile] -ContentLocation <String> [-DeploymentTypeName <String>]
 [-ForceForUnknownPublisher <Boolean>] [-InputObject <IResultObject>] [-IosInstaller] [-Language <String[]>]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

AddDeploymentTypeByMacInstallerAuto

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 [-AutoIdentifyFromInstallationFile] -ContentLocation <String> [-DeploymentTypeName <String>]
 [-ForceForUnknownPublisher <Boolean>] [-InputObject <IResultObject>] [-Language <String[]>] [-MacInstaller]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

AddDeploymentTypeByScriptInstallerManual

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 [-ContentLocation <String>] -DeploymentTypeName <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>] [-ManualSpecifyDeploymentType]
 [-MaximumAllowedRunTimeMins <Int32>] [-OnSlowNetworkMode <ContentHandlingMode>]
 [-PersistContentInClientCache <Boolean>] [-RequireUserInteraction <Boolean>] -ScriptContent <String>
 [-ScriptInstaller] -ScriptType <ScriptLanguage> [-UninstallProgram <String>] [-UninstallStartIn <String>]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

AddDeploymentTypeByWebAppInstallerAuto

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 [-AutoIdentifyFromInstallationFile] -ContentLocation <String> [-DeploymentTypeName <String>]
 [-InputObject <IResultObject>] [-Language <String[]>] [-WebAppInstaller] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

AddDeploymentTypeByWindows8AppInstallerAuto

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 [-AutoIdentifyFromInstallationFile] -ContentLocation <String> [-DeploymentTypeName <String>]
 [-EnableContentLocationFallback <Boolean>] [-ForceForUnknownPublisher <Boolean>]
 [-InputObject <IResultObject>] [-Language <String[]>] [-OnSlowNetworkMode <ContentHandlingMode>]
 [-TriggerVpn <Boolean>] [-Windows8AppInstaller] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
 [-Confirm] [<CommonParameters>]

AddDeploymentTypeByWindowsStoreInstallerAuto

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 -ApplicationNameInWindowsStore <String> [-AutoIdentifyFromInstallationFile] [-DeploymentTypeName <String>]
 [-ForceForUnknownPublisher <Boolean>] [-InputObject <IResultObject>] [-Language <String[]>]
 -RemoteComputerName <String> [-WindowsStoreInstaller] [-DisableWildcardHandling] [-ForceWildcardHandling]
 [-WhatIf] [-Confirm] [<CommonParameters>]

AddDeploymentTypeByWinPhone8InstallerAuto

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 [-AutoIdentifyFromInstallationFile] -ContentLocation <String> [-DeploymentTypeName <String>]
 [-ForceForUnknownPublisher <Boolean>] [-InputObject <IResultObject>] [-Language <String[]>]
 [-WindowsPhone8Installer] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

AddDeploymentTypeByWinPhoneStoreInstallerAuto

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 [-AutoIdentifyFromInstallationFile] -ContentLocation <String> [-DeploymentTypeName <String>]
 [-ForceForUnknownPublisher <Boolean>] [-InputObject <IResultObject>] [-Language <String[]>]
 [-WindowsPhoneStoreInstaller] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

AddDeploymentTypeByWMInstaller

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 [-AutoIdentifyFromInstallationFile] -ContentLocation <String> [-DeploymentTypeName <String>]
 [-EnableUserUninstall <Boolean>] [-ForceForUnknownPublisher <Boolean>] [-InputObject <IResultObject>]
 [-Language <String[]>] [-ManualSpecifyDeploymentType] [-PfxFileLocation <String>]
 [-PfxFilePassword <SecureString>] [-SignContentFile <Boolean>] [-SignedContentFileLocation <String>]
 [-WMInstaller] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

AddDeploymentTypeByMobileMsiInstallerAuto

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 [-AutoIdentifyFromInstallationFile] -ContentLocation <String> [-DeploymentTypeName <String>]
 [-ForceForUnknownPublisher <Boolean>] [-InputObject <IResultObject>] [-InstallationCommandLine <String>]
 [-Language <String[]>] [-MobileMsiInstaller] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
 [-Confirm] [<CommonParameters>]

AddDeploymentTypeByMobileMsiInstallerManual

Add-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ApplicationName <String>]
 [-ContentLocation <String>] -DeploymentTypeName <String> [-InputObject <IResultObject>] [-Language <String[]>]
 [-ManualSpecifyDeploymentType] [-MobileMsiInstaller] [-DisableWildcardHandling] [-ForceWildcardHandling]
 [-WhatIf] [-Confirm] [<CommonParameters>]

AddDeploymentTypeByAndroidGooglePlayInstallerAuto

Add-CMDeploymentType [-AdministratorComment <String>] [-AndroidGooglePlayInstaller] [-ApplicationName <String>]
 [-AutoIdentifyFromInstallationFile] -ContentLocation <String> [-DeploymentTypeName <String>]
 [-ForceForUnknownPublisher <Boolean>] [-InputObject <IResultObject>] [-Language <String[]>]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

This cmdlet is deprecated.

Use one of the following cmdlets:

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

Note

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

EXAMPLES

Example 1: Add an Windows Installer deployment type to an application

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

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.

Example 2: Add a deployment type that uses a script

PS XYZ:\>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

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.

PARAMETERS

-AddRequirement

Adds an array of requirements for this deployment type.

Type: Rule[]
Parameter Sets: AddDeploymentTypeByMsiInstallerAuto, AddDeploymentTypeByAndroidInstallerAuto, AddDeploymentTypeByAppV5xInstallerAuto, AddDeploymentTypeByAppvInstallerAuto, AddDeploymentTypeByIosAppStoreInstallerAuto, AddDeploymentTypeByIosInstallerAuto, AddDeploymentTypeByMacInstallerAuto, AddDeploymentTypeByScriptInstallerManual, AddDeploymentTypeByWebAppInstallerAuto, AddDeploymentTypeByWindows8AppInstallerAuto, AddDeploymentTypeByWindowsStoreInstallerAuto, AddDeploymentTypeByWinPhone8InstallerAuto, AddDeploymentTypeByWinPhoneStoreInstallerAuto, AddDeploymentTypeByWMInstaller, AddDeploymentTypeByMobileMsiInstallerAuto, AddDeploymentTypeByMobileMsiInstallerManual
Aliases:

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

-AdministratorComment

Specifies a description for the deployment type.

Type: String
Parameter Sets: (All)
Aliases:

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

-AndroidGooglePlayInstaller

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByAndroidGooglePlayInstallerAuto
Aliases: AndroidDeepLinkInstaller

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

-AndroidInstaller

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

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByAndroidInstallerAuto
Aliases:

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

-ApplicationName

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

Type: String
Parameter Sets: (All)
Aliases:

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

-ApplicationNameInWindowsStore

Specifies the name of the application in the Windows Store.

Type: String
Parameter Sets: AddDeploymentTypeByWindowsStoreInstallerAuto
Aliases:

Required: True
Position: Named
Default value: None
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
Parameter Sets: AddDeploymentTypeByAppV5xInstallerAuto
Aliases:

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

-AppvInstaller

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

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByAppvInstallerAuto
Aliases:

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

-AutoIdentifyFromInstallationFile

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

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByMsiInstallerAuto, AddDeploymentTypeByAndroidInstallerAuto, AddDeploymentTypeByAppV5xInstallerAuto, AddDeploymentTypeByAppvInstallerAuto, AddDeploymentTypeByIosAppStoreInstallerAuto, AddDeploymentTypeByIosInstallerAuto, AddDeploymentTypeByMacInstallerAuto, AddDeploymentTypeByWebAppInstallerAuto, AddDeploymentTypeByWindows8AppInstallerAuto, AddDeploymentTypeByWindowsStoreInstallerAuto, AddDeploymentTypeByWinPhone8InstallerAuto, AddDeploymentTypeByWinPhoneStoreInstallerAuto, AddDeploymentTypeByWMInstaller, AddDeploymentTypeByMobileMsiInstallerAuto, AddDeploymentTypeByAndroidGooglePlayInstallerAuto
Aliases:

Required: False
Position: Named
Default value: None
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
Parameter Sets: AddDeploymentTypeByMsiInstallerAuto, AddDeploymentTypeByAndroidInstallerAuto, AddDeploymentTypeByAppV5xInstallerAuto, AddDeploymentTypeByAppvInstallerAuto, AddDeploymentTypeByIosAppStoreInstallerAuto, AddDeploymentTypeByIosInstallerAuto, AddDeploymentTypeByMacInstallerAuto, AddDeploymentTypeByWebAppInstallerAuto, AddDeploymentTypeByWindows8AppInstallerAuto, AddDeploymentTypeByWinPhone8InstallerAuto, AddDeploymentTypeByWinPhoneStoreInstallerAuto, AddDeploymentTypeByWMInstaller, AddDeploymentTypeByMobileMsiInstallerAuto, AddDeploymentTypeByAndroidGooglePlayInstallerAuto
Aliases: InstallationFileLocation, WebAppUrl

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: String
Parameter Sets: AddDeploymentTypeByScriptInstallerManual, AddDeploymentTypeByMobileMsiInstallerManual
Aliases: InstallationFileLocation, WebAppUrl

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

-DeploymentTypeName

Specifies the name of a deployment type.

Type: String
Parameter Sets: AddDeploymentTypeByMsiInstallerAuto, AddDeploymentTypeByAndroidInstallerAuto, AddDeploymentTypeByAppV5xInstallerAuto, AddDeploymentTypeByAppvInstallerAuto, AddDeploymentTypeByIosAppStoreInstallerAuto, AddDeploymentTypeByIosInstallerAuto, AddDeploymentTypeByMacInstallerAuto, AddDeploymentTypeByWebAppInstallerAuto, AddDeploymentTypeByWindows8AppInstallerAuto, AddDeploymentTypeByWindowsStoreInstallerAuto, AddDeploymentTypeByWinPhone8InstallerAuto, AddDeploymentTypeByWinPhoneStoreInstallerAuto, AddDeploymentTypeByWMInstaller, AddDeploymentTypeByMobileMsiInstallerAuto, AddDeploymentTypeByAndroidGooglePlayInstallerAuto
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: String
Parameter Sets: AddDeploymentTypeByScriptInstallerManual, AddDeploymentTypeByMobileMsiInstallerManual
Aliases:

Required: True
Position: Named
Default value: None
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
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases:

Required: False
Position: Named
Default value: None
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
Parameter Sets: (All)
Aliases:

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

-EnableBranchCache

Type: Boolean
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases: AllowClientsToShareContentOnSameSubnet

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

-EnableContentLocationFallback

Type: Boolean
Parameter Sets: AddDeploymentTypeByMsiInstallerAuto, AddDeploymentTypeByAppV5xInstallerAuto, AddDeploymentTypeByAppvInstallerAuto, AddDeploymentTypeByScriptInstallerManual, AddDeploymentTypeByWindows8AppInstallerAuto
Aliases: AllowClientsToUseFallbackSourceLocationForContent

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

-EnableUserUninstall

Type: Boolean
Parameter Sets: AddDeploymentTypeByWMInstaller
Aliases: AllowUserToUninstall, AllowsUsersToUninstallThisContent

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

-EstimatedInstallationTimeMins

Type: Int32
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases: EstimatedInstallationTimeMinutes

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

-Force32BitDetectionScript

Type: Boolean
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases: RunScriptAs32BitProcessOn64BitClient

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

-Force32BitInstaller

Type: Boolean
Parameter Sets: AddDeploymentTypeByMsiInstallerAuto, AddDeploymentTypeByScriptInstallerManual
Aliases: RunInstallationProgramAs32BitProcessOn64BitClient

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

-ForceForUnknownPublisher

Indicates whether the deployment type requires file signature verification.

Type: Boolean
Parameter Sets: AddDeploymentTypeByMsiInstallerAuto, AddDeploymentTypeByAndroidInstallerAuto, AddDeploymentTypeByAppV5xInstallerAuto, AddDeploymentTypeByAppvInstallerAuto, AddDeploymentTypeByIosAppStoreInstallerAuto, AddDeploymentTypeByIosInstallerAuto, AddDeploymentTypeByMacInstallerAuto, AddDeploymentTypeByWindows8AppInstallerAuto, AddDeploymentTypeByWindowsStoreInstallerAuto, AddDeploymentTypeByWinPhone8InstallerAuto, AddDeploymentTypeByWinPhoneStoreInstallerAuto, AddDeploymentTypeByWMInstaller, AddDeploymentTypeByMobileMsiInstallerAuto, AddDeploymentTypeByAndroidGooglePlayInstallerAuto
Aliases:

Required: False
Position: Named
Default value: None
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
Parameter Sets: (All)
Aliases:

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

-InputObject

Specifies the input to this cmdlet. You can use this parameter, or you can pipe the input to this cmdlet.

Type: IResultObject
Parameter Sets: (All)
Aliases: Application

Required: False
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

-InstallationBehaviorType

Specifies the installation behavior of the deployment type. Valid values are:

  • InstallForSystem
  • InstallForSystemIfResourceIsDeviceOtherwiseInstallForUser
  • InstallForUser
Type: InstallationBehaviorType
Parameter Sets: AddDeploymentTypeByMsiInstallerAuto, AddDeploymentTypeByScriptInstallerManual
Aliases:
Accepted values: InstallForUser, InstallForSystem, InstallForSystemIfResourceIsDeviceOtherwiseInstallForUser

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

-InstallationCommandLine

Type: String
Parameter Sets: AddDeploymentTypeByMobileMsiInstallerAuto
Aliases:

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

-InstallationProgram

Specifies the command line for the Windows Installer package.

Type: String
Parameter Sets: AddDeploymentTypeByMsiInstallerAuto
Aliases:

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

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

-InstallationProgramVisibility

Specifies the mode in which the deployment type runs on client devices. Valid values are:

  • Normal
  • Minimized
  • Maximized
  • Hidden
Type: UserInteractionMode
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases:
Accepted values: Normal, Minimized, Maximized, Hidden

Required: False
Position: Named
Default value: None
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
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases:

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

-IosAppStoreInstaller

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByIosAppStoreInstallerAuto
Aliases: IosDeepLinkInstaller

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

-IosInstaller

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

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByIosInstallerAuto
Aliases:

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

-Language

Specifies an array of languages that the deployment type supports.

Type: String[]
Parameter Sets: (All)
Aliases:

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

-LogonRequirementType

Specifies the logon requirement for the deployment type. Valid values are:

  • OnlyWhenNoUserLoggedOn
  • OnlyWhenUserLoggedOn
  • WhereOrNotUserLoggedOn
Type: LogonRequirementType
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases:
Accepted values: OnlyWhenUserLoggedOn, WhereOrNotUserLoggedOn, WhetherOrNotUserLoggedOn, OnlyWhenNoUserLoggedOn

Required: False
Position: Named
Default value: None
Accept pipeline input: False
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.

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByMacInstallerAuto
Aliases:

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

-ManualSpecifyDeploymentType

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

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByScriptInstallerManual, AddDeploymentTypeByWMInstaller, AddDeploymentTypeByMobileMsiInstallerManual
Aliases:

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

-MaximumAllowedRunTimeMins

Type: Int32
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases: MaximumAllowedRunTimeMinutes

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

-MobileMsiInstaller

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByMobileMsiInstallerAuto, AddDeploymentTypeByMobileMsiInstallerManual
Aliases:

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

-MsiInstaller

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

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByMsiInstallerAuto
Aliases:

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

-OnFastNetworkMode

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

  • RunFromNetwork
  • RunLocal
Type: OnFastNetworkMode
Parameter Sets: AddDeploymentTypeByAppV5xInstallerAuto, AddDeploymentTypeByAppvInstallerAuto
Aliases:
Accepted values: RunLocal, RunFromNetwork, DownloadContentForStreaming

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

-OnSlowNetworkMode

Specifies the installation behavior of the deployment type on a slow network. Valid values are:

  • DoNothing
  • Download
  • DownloadContentForStreaming
Type: ContentHandlingMode
Parameter Sets: AddDeploymentTypeByMsiInstallerAuto, AddDeploymentTypeByAppV5xInstallerAuto, AddDeploymentTypeByAppvInstallerAuto, AddDeploymentTypeByScriptInstallerManual, AddDeploymentTypeByWindows8AppInstallerAuto
Aliases:
Accepted values: DoNothing, Download, DownloadContentForStreaming

Required: False
Position: Named
Default value: None
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
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases:

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

-PfxFileLocation

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

Type: String
Parameter Sets: AddDeploymentTypeByWMInstaller
Aliases:

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

-PfxFilePassword

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

Type: SecureString
Parameter Sets: AddDeploymentTypeByWMInstaller
Aliases:

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

-RemoteComputerName

Specifies a remote computer name.

Type: String
Parameter Sets: AddDeploymentTypeByWindowsStoreInstallerAuto
Aliases:

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

-RequireUserInteraction

Type: Boolean
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases: RequiresUserInteraction

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

-ScriptContent

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

Type: String
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases:

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

-ScriptInstaller

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

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases:

Required: True
Position: Named
Default value: None
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
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases:
Accepted values: PowerShell, VBScript, JavaScript

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

-SignContentFile

Indicates whether the deployment type requires a signed content file.

Type: Boolean
Parameter Sets: AddDeploymentTypeByWMInstaller
Aliases:

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

-SignedContentFileLocation

Specifies the path of the signed content file.

Type: String
Parameter Sets: AddDeploymentTypeByWMInstaller
Aliases:

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

-TriggerVpn

@{Text=}

Type: Boolean
Parameter Sets: AddDeploymentTypeByWindows8AppInstallerAuto
Aliases:

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

-UninstallProgram

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

Type: String
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases:

Required: False
Position: Named
Default value: None
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
Parameter Sets: AddDeploymentTypeByScriptInstallerManual
Aliases:

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

-WebAppInstaller

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

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByWebAppInstallerAuto
Aliases:

Required: True
Position: Named
Default value: None
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
Parameter Sets: AddDeploymentTypeByWindows8AppInstallerAuto
Aliases:

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

-WindowsPhone8Installer

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByWinPhone8InstallerAuto
Aliases: WinPhone8Installer

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

-WindowsPhoneStoreInstaller

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByWinPhoneStoreInstallerAuto
Aliases: WinPhone8DeeplinkInstaller, WindowsPhone8StoreInstaller

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

-WindowsStoreInstaller

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByWindowsStoreInstallerAuto
Aliases: DeeplinkInstaller

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

-WMInstaller

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

Type: SwitchParameter
Parameter Sets: AddDeploymentTypeByWMInstaller
Aliases:

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

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

OUTPUTS

IResultObject#SMS_DeploymentType

NOTES

RELATED LINKS

Get-CMDeploymentType

Remove-CMDeploymentType

Set-CMDeploymentType