Add-CMDeploymentType
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 Configuration Manager requires to install software. A deployment type also contains rules that specify if and how the software is deployed.
パラメーター
-AdministratorComment<String>
Specifies a description for the deployment type.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-AllowClientsToShareContentOnSameSubnet<Boolean>
Indicates whether clients can share content with other clients on the same subnet.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
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.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-AllowUsersToUninstallThisContent<Boolean>
Indicates whether a user can uninstall the application.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-AndroidDeepLinkInstaller
Indicates that the deployment type configures application and deployment type information by specifying a link to the app on Google Play.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-AndroidInstaller
Indicates that the deployment type detects application information and deployment types from an app package for Android (.apk) file.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ApplicationName<String>
Specifies the name of the application that is associated with the deployment type.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ApplicationNameInWindowsStore<String>
Specifies the name of the application in the Windows Store.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-AppV5xInstaller
Indicates that the deployment type detects application information and deployment types from a Microsoft Application Virtualization 5 (.appv) package file.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-AppvInstaller
Indicates that the deployment detects application information and deployment types from a Microsoft Application Virtualization 4 manifest (.xml) file.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-AutoIdentifyFromInstallationFile
Indicates that the deployment type extracts information from the content file.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ContentLocation<String>
Specifies the path of the content. The site system server requires permission to read the content files.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
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.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DeploymentTypeName<String>
Specifies the name of a deployment type.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-DetectDeploymentTypeByCustomScript
Indicates that the deployment type uses a custom script to detect the presence of this deployment type.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-EstimatedInstallationTimeMinutes<Int32>
Specifies, in minutes, the estimated installation time.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ForceForUnknownPublisher<Boolean>
Indicates whether the deployment type requires file signature verification.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-InstallationBehaviorType<InstallationBehaviorType>
Specifies the installation behavior of the deployment type. Valid values are:
-- InstallForSystem
-- InstallForSystemIfResourceIsDeviceOtherwiseInstallForUser
-- InstallForUser
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-InstallationFileLocation<String>
Specifies the path of the installation package.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-InstallationProgram<String>
Specifies the command line for the Windows Installer package.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-InstallationProgramVisibility<UserInteractionMode>
Specifies the mode in which the deployment type runs on client devices. Valid values are:
-- Normal
-- Minimized
-- Maximized
-- Hidden
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
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.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-iOSDeepLinkInstaller
Indicates that the deployment type configures application and deployment type information by specifying a link to the app in the App Store.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-iOSInstaller
Indicates that the deployment type detects application information and deployment types from an app package for iOS (.ipa) file.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Language<String[]>
Specifies an array of languages that the deployment type supports.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-LogonRequirementType<LogonRequirementType>
Specifies the logon requirement for the deployment type. Valid values are:
-- OnlyWhenNoUserLoggedOn
-- OnlyWhenUserLoggedOn
-- WhereOrNotUserLoggedOn
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
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.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ManualSpecifyDeploymentType
Do not use. Configuration Manager does not currently use this parameter.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-MaximumAllowedRunTimeMinutes<Int32>
Specifies, in minutes, the maximum time that the program is expected to run on the client computer.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-MsiInstaller
Indicates that the deployment type detects application information and deployment types from a Windows Installer (.msi) file.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-NokiaInstaller
Indicates that the deployment type detects application information and deployment types from a Nokia Symbian installation (.sis or .sisx) file.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-OnFastNetworkMode<OnFastNetworkMode>
Specifies the installation behavior of the deployment type on a fast network. Valid values are:
-- RunFromNetwork
-- RunLocal
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-OnSlowNetworkMode<ContentHandlingMode>
Specifies the installation behavior of the deployment type on a slow network. Valid values are:
-- DoNothing
-- Download
-- DownloadContentForStreaming
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-PersistContentInClientCache<Boolean>
Indicates whether the deployment type saves content in cache indefinitely on the client computer.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-PfxFileLocation<String>
Specifies the path of the Personal Information Exchange (PFX) file.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-PfxFilePassword<SecureString>
Specifies the password, as a secure string, for the PFX file.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-RemoteComputerName<String>
Specifies a remote computer name.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-RequiresUserInteraction<Boolean>
Indicates whether a user can interact with the deployment type installation to configure the installation options.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
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.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
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.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ScriptContent<String>
Specifies the script language that you want to use to detect the deployment type.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ScriptInstaller
Indicates that the deployment type uses a script to detect the presence of this deployment type.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-ScriptType<ScriptLanguage>
Specifies the script language that you want to use to detect the deployment type.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SignContentFile<Boolean>
Indicates whether the deployment type requires a signed content file.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-SignedContentFileLocation<String>
Specifies the path of the signed content file.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-TriggerVPN<Boolean>
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-UninstallProgram<String>
Specifies the name of the uninstall program and any parameters it requires.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
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.
エイリアス |
なし |
必須? |
false |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-WebAppInstaller
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-WebAppURL<String>
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Windows8AppInstaller
Indicates that the deployment type detects application information and deployment types from a Windows app package (.appx) file.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
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.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-WinPhone8Installer
Indicates that the deployment type detects application information and deployment types from a Windows Phone app package (.xap) file.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-WMInstaller
Indicates that the deployment type detects application information and deployment types from a Windows Mobile cabinet (.cab) file.
エイリアス |
なし |
必須? |
true |
位置は? |
named |
既定値 |
なし |
パイプライン入力を許可する |
True (ByPropertyName) |
ワイルドカード文字を許可する |
false |
-Confirm
コマンドレットを実行する前に、ユーザーに確認を求めます。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
-WhatIf
コマンドレットを実行するとどのような結果になるかを表示します。コマンドレットは実行されません。
必須? |
false |
位置は? |
named |
既定値 |
false |
パイプライン入力を許可する |
false |
ワイルドカード文字を許可する |
false |
<CommonParameters>
このコマンドレットは次の共通パラメーターをサポートします。-Verbose、-Debug、-ErrorAction、-ErrorVariable、-OutBuffer、-OutVariable.詳細については、以下を参照してください。 about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216)。
入力
入力型は、コマンドレットにパイプできるオブジェクトの型です。
出力
出力型は、コマンドレットによって生成されるオブジェクトの型です。
例
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