Add-CMDeploymentType
Adds a deployment type for an application.
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>]
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.
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Specifies a remote computer name.
Aliases |
none |
Required? |
false |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
True (ByPropertyName) |
Accept Wildcard Characters? |
false |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
Prompts you for confirmation before running the cmdlet.
Required? |
false |
Position? |
named |
Default Value |
false |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
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 |
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).
The input type is the type of the objects that you can pipe to the cmdlet.
The output type is the type of the objects that the cmdlet emits.
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
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