Sdílet prostřednictvím


Set-CMDeploymentType

SYNOPSIS

Změna typu nasazení aplikace Configuration Manager.

SYNTAX

SetByValuePriority (výchozí)

Set-CMDeploymentType -InputObject <IResultObject> [-PassThru] [-Priority <PriorityChangeType>]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

SetByNamePropertyMsiConfigureRule

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] -ApplicationName <String>
 [-ClearRequirements] [-ContentLocation <String>] -DeploymentTypeName <String>
 [-DetectDeploymentTypeByCustomScript] [-EnableBranchCache <Boolean>]
 [-EnableContentLocationFallback <Boolean>] [-EstimatedInstallationTimeMins <Int32>]
 [-Force32BitDetectionScript <Boolean>] [-Force32BitInstaller <Boolean>]
 [-InstallationBehaviorType <InstallationBehaviorType>] [-InstallationProgram <String>]
 [-InstallationProgramVisibility <UserInteractionMode>] [-InstallationStartIn <String>] [-Language <String[]>]
 [-LogonRequirementType <LogonRequirementType>] [-MaximumAllowedRunTimeMins <Int32>] [-MsiOrScriptInstaller]
 [-NewDeploymentTypeName <String>] [-OnSlowNetworkMode <ContentHandlingMode>] [-PassThru]
 [-PersistContentInClientCache <Boolean>] [-ProductCode <String>] [-RebootBehavior <RebootBehavior>]
 [-RemoveRequirement <Rule[]>] [-RequireUserInteraction <Boolean>] [-ScriptContent <String>]
 [-ScriptType <ScriptLanguage>] [-SourceUpdateProductCode <String>] [-UninstallProgram <String>]
 [-UninstallStartIn <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

SetByNamePropertyOtherInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] -ApplicationName <String>
 [-ClearRequirements] [-ContentLocation <String>] -DeploymentTypeName <String> [-Language <String[]>]
 [-NewDeploymentTypeName <String>] [-PassThru] [-RemoveRequirement <Rule[]>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

SetByNamePropertyWindows8Installer

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] -ApplicationName <String>
 [-ClearRequirements] [-ContentLocation <String>] -DeploymentTypeName <String> [-EnableBranchCache <Boolean>]
 [-EnableContentLocationFallback <Boolean>] [-Language <String[]>] [-MaximumAllowedRunTimeMins <Int32>]
 [-NewDeploymentTypeName <String>] [-OnSlowNetworkMode <ContentHandlingMode>] [-PassThru]
 [-PersistContentInClientCache <Boolean>] [-RemoveRequirement <Rule[]>] [-TriggerVpn <Boolean>]
 [-Windows8AppInstaller] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

SetByNamePropertyAppV5xInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] -ApplicationName <String>
 [-AppV5xInstaller] [-ClearRequirements] -DeploymentTypeName <String>
 [-EnableContentLocationFallback <Boolean>] [-EnablePeerToPeerContentDistribution <Boolean>]
 [-Language <String[]>] [-NewDeploymentTypeName <String>] [-OnFastNetworkMode <OnFastNetworkMode>]
 [-OnSlowNetworkMode <ContentHandlingMode>] [-PassThru] [-PersistContentInClientCache <Boolean>]
 [-RemoveRequirement <Rule[]>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

SetByNamePropertyAppVInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] -ApplicationName <String>
 [-AppVInstaller] [-ClearRequirements] -DeploymentTypeName <String> [-EnableContentLocationFallback <Boolean>]
 [-EnablePeerToPeerContentDistribution <Boolean>] [-Language <String[]>]
 [-LoadContentIntoAppVCacheBeforeLaunch <Boolean>] [-NewDeploymentTypeName <String>]
 [-OnFastNetworkMode <OnFastNetworkMode>] [-OnSlowNetworkMode <ContentHandlingMode>] [-PassThru]
 [-PersistContentInClientCache <Boolean>] [-RemoveRequirement <Rule[]>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

SetByNamePropertyMacInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] -ApplicationName <String>
 [-ClearRequirements] [-ContentLocation <String>] -DeploymentTypeName <String> [-InstallationProgram <String>]
 [-Language <String[]>] [-MacInstaller] [-MacRebootBehavior <MacRebootBehavior>]
 [-NewDeploymentTypeName <String>] [-PassThru] [-RemoveRequirement <Rule[]>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

SetByNamePropertyWmInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] -ApplicationName <String>
 [-ClearRequirements] [-ContentLocation <String>] -DeploymentTypeName <String> [-EnableUserUninstall <Boolean>]
 [-Language <String[]>] [-NewDeploymentTypeName <String>] [-PassThru] [-RemoveRequirement <Rule[]>]
 [-WindowsMobileInstaller] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

SetByNamePropertyWindowsStoreInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] -ApplicationName <String>
 [-ApplicationNameInWindowsStore <String>] [-ClearRequirements] -DeploymentTypeName <String>
 [-Language <String[]>] [-MaximumAllowedRunTimeMins <Int32>] [-NewDeploymentTypeName <String>] [-PassThru]
 [-RemoteComputerName <String>] [-RemoveRequirement <Rule[]>] [-WindowsStoreInstaller]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

SetByNamePropertyWebAppInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] -ApplicationName <String>
 [-ClearRequirements] -DeploymentTypeName <String> [-Language <String[]>] [-NewDeploymentTypeName <String>]
 [-PassThru] [-RemoveRequirement <Rule[]>] [-WebAppInstaller] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

SetByNamePropertyMobileMsiConfigureRule

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] -ApplicationName <String>
 [-ClearRequirements] [-ContentLocation <String>] -DeploymentTypeName <String>
 [-InstallationCommandLine <String>] -Language <String[]> [-MobileMsiInstaller]
 [-NewDeploymentTypeName <String>] [-PassThru] [-RemoveRequirement <Rule[]>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

SetByValuePropertyMobileMsiConfigureRule

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ClearRequirements]
 [-ContentLocation <String>] -InputObject <IResultObject> [-InstallationCommandLine <String>]
 -Language <String[]> [-MobileMsiInstaller] [-NewDeploymentTypeName <String>] [-PassThru]
 [-RemoveRequirement <Rule[]>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

SetByValuePropertyMsiConfigureRule

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ClearRequirements]
 [-ContentLocation <String>] [-DetectDeploymentTypeByCustomScript] [-EnableBranchCache <Boolean>]
 [-EnableContentLocationFallback <Boolean>] [-EstimatedInstallationTimeMins <Int32>]
 [-Force32BitDetectionScript <Boolean>] [-Force32BitInstaller <Boolean>] -InputObject <IResultObject>
 [-InstallationBehaviorType <InstallationBehaviorType>] [-InstallationProgram <String>]
 [-InstallationProgramVisibility <UserInteractionMode>] [-InstallationStartIn <String>] [-Language <String[]>]
 [-LogonRequirementType <LogonRequirementType>] [-MaximumAllowedRunTimeMins <Int32>] [-MsiOrScriptInstaller]
 [-NewDeploymentTypeName <String>] [-OnSlowNetworkMode <ContentHandlingMode>] [-PassThru]
 [-PersistContentInClientCache <Boolean>] [-ProductCode <String>] [-RebootBehavior <RebootBehavior>]
 [-RemoveRequirement <Rule[]>] [-RequireUserInteraction <Boolean>] [-ScriptContent <String>]
 [-ScriptType <ScriptLanguage>] [-SourceUpdateProductCode <String>] [-UninstallProgram <String>]
 [-UninstallStartIn <String>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

SetByValuePropertyOtherInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ClearRequirements]
 [-ContentLocation <String>] -InputObject <IResultObject> [-Language <String[]>]
 [-NewDeploymentTypeName <String>] [-PassThru] [-RemoveRequirement <Rule[]>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

SetByValuePropertyWindows8Installer

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ClearRequirements]
 [-ContentLocation <String>] [-EnableBranchCache <Boolean>] [-EnableContentLocationFallback <Boolean>]
 -InputObject <IResultObject> [-Language <String[]>] [-MaximumAllowedRunTimeMins <Int32>]
 [-NewDeploymentTypeName <String>] [-OnSlowNetworkMode <ContentHandlingMode>] [-PassThru]
 [-PersistContentInClientCache <Boolean>] [-RemoveRequirement <Rule[]>] [-TriggerVpn <Boolean>]
 [-Windows8AppInstaller] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

SetByValuePropertyAppV5xInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-AppV5xInstaller]
 [-ClearRequirements] [-EnableContentLocationFallback <Boolean>]
 [-EnablePeerToPeerContentDistribution <Boolean>] -InputObject <IResultObject> [-Language <String[]>]
 [-NewDeploymentTypeName <String>] [-OnFastNetworkMode <OnFastNetworkMode>]
 [-OnSlowNetworkMode <ContentHandlingMode>] [-PassThru] [-PersistContentInClientCache <Boolean>]
 [-RemoveRequirement <Rule[]>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

SetByValuePropertyAppVInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-AppVInstaller]
 [-ClearRequirements] [-EnableContentLocationFallback <Boolean>]
 [-EnablePeerToPeerContentDistribution <Boolean>] -InputObject <IResultObject> [-Language <String[]>]
 [-LoadContentIntoAppVCacheBeforeLaunch <Boolean>] [-NewDeploymentTypeName <String>]
 [-OnFastNetworkMode <OnFastNetworkMode>] [-OnSlowNetworkMode <ContentHandlingMode>] [-PassThru]
 [-PersistContentInClientCache <Boolean>] [-RemoveRequirement <Rule[]>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

SetByValuePropertyMacInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ClearRequirements]
 [-ContentLocation <String>] -InputObject <IResultObject> [-InstallationProgram <String>]
 [-Language <String[]>] [-MacInstaller] [-MacRebootBehavior <MacRebootBehavior>]
 [-NewDeploymentTypeName <String>] [-PassThru] [-RemoveRequirement <Rule[]>] [-DisableWildcardHandling]
 [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

SetByValuePropertyWmInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ClearRequirements]
 [-ContentLocation <String>] [-EnableUserUninstall <Boolean>] -InputObject <IResultObject>
 [-Language <String[]>] [-NewDeploymentTypeName <String>] [-PassThru] [-RemoveRequirement <Rule[]>]
 [-WindowsMobileInstaller] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

SetByValuePropertyWindowsStoreInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>]
 [-ApplicationNameInWindowsStore <String>] [-ClearRequirements] -InputObject <IResultObject>
 [-Language <String[]>] [-MaximumAllowedRunTimeMins <Int32>] [-NewDeploymentTypeName <String>] [-PassThru]
 [-RemoteComputerName <String>] [-RemoveRequirement <Rule[]>] [-WindowsStoreInstaller]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

SetByValuePropertyWebAppInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ClearRequirements]
 -InputObject <IResultObject> [-Language <String[]>] [-NewDeploymentTypeName <String>] [-PassThru]
 [-RemoveRequirement <Rule[]>] [-WebAppInstaller] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf]
 [-Confirm] [<CommonParameters>]

SetByNamePropertyWindowsPhoneStoreInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] -ApplicationName <String>
 [-ClearRequirements] [-ContentLocation <String>] -DeploymentTypeName <String> [-Language <String[]>]
 [-NewDeploymentTypeName <String>] [-PassThru] [-RemoveRequirement <Rule[]>] [-WindowsPhoneStoreInstaller]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

SetByValuePropertyWindowsPhoneStoreInstaller

Set-CMDeploymentType [-AddRequirement <Rule[]>] [-AdministratorComment <String>] [-ClearRequirements]
 [-ContentLocation <String>] -InputObject <IResultObject> [-Language <String[]>]
 [-NewDeploymentTypeName <String>] [-PassThru] [-RemoveRequirement <Rule[]>] [-WindowsPhoneStoreInstaller]
 [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm] [<CommonParameters>]

SetByNamePriority

Set-CMDeploymentType -ApplicationName <String> -DeploymentTypeName <String> [-PassThru]
 [-Priority <PriorityChangeType>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

SetByIdPriority

Set-CMDeploymentType -ApplicationName <String> -DeploymentTypeId <Int32> [-PassThru]
 [-Priority <PriorityChangeType>] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

Rutina set-CMDeploymentType změní typ nasazení pro aplikaci v Configuration Manager. Typ nasazení je součástí aplikace, která definuje, jak se tato aplikace nainstaluje na zařízení.

Tuto rutinu můžete také použít ke změně priority pro závislosti typu nasazení. Configuration Manager vyhodnotí a nainstaluje závislosti typu nasazení v pořadí priorit předtím, než nainstaluje typ nasazení.

Další informace najdete v tématu Úvod do správy aplikací – typy nasazení.

Poznámka

Použijte například rutiny Configuration Manager z Configuration Manager jednotky webu PS XYZ:\> . Další informace najdete v tématu Začínáme.

EXAMPLES

Příklad 1: zvýšení priority aplikace nasazení

tento příkaz nakonfiguruje typ nasazení s názvem Configuration Manager Console-Instalační služba systému Windows (nativní) pro aplikaci s názvem 2-Child a zvýší prioritu této aplikace.

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

PARAMETERS

-AddRequirement

Přidá pole požadavků pro tento typ nasazení.

Type: Rule[]
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyOtherInstaller, SetByNamePropertyWindows8Installer, SetByNamePropertyAppV5xInstaller, SetByNamePropertyAppVInstaller, SetByNamePropertyMacInstaller, SetByNamePropertyWmInstaller, SetByNamePropertyWindowsStoreInstaller, SetByNamePropertyWebAppInstaller, SetByNamePropertyMobileMsiConfigureRule, SetByValuePropertyMobileMsiConfigureRule, SetByValuePropertyMsiConfigureRule, SetByValuePropertyOtherInstaller, SetByValuePropertyWindows8Installer, SetByValuePropertyAppV5xInstaller, SetByValuePropertyAppVInstaller, SetByValuePropertyMacInstaller, SetByValuePropertyWmInstaller, SetByValuePropertyWindowsStoreInstaller, SetByValuePropertyWebAppInstaller, SetByNamePropertyWindowsPhoneStoreInstaller, SetByValuePropertyWindowsPhoneStoreInstaller
Aliases:

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

-AdministratorComment

Určuje popis typu nasazení.

Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyOtherInstaller, SetByNamePropertyWindows8Installer, SetByNamePropertyAppV5xInstaller, SetByNamePropertyAppVInstaller, SetByNamePropertyMacInstaller, SetByNamePropertyWmInstaller, SetByNamePropertyWindowsStoreInstaller, SetByNamePropertyWebAppInstaller, SetByNamePropertyMobileMsiConfigureRule, SetByValuePropertyMobileMsiConfigureRule, SetByValuePropertyMsiConfigureRule, SetByValuePropertyOtherInstaller, SetByValuePropertyWindows8Installer, SetByValuePropertyAppV5xInstaller, SetByValuePropertyAppVInstaller, SetByValuePropertyMacInstaller, SetByValuePropertyWmInstaller, SetByValuePropertyWindowsStoreInstaller, SetByValuePropertyWebAppInstaller, SetByNamePropertyWindowsPhoneStoreInstaller, SetByValuePropertyWindowsPhoneStoreInstaller
Aliases:

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

-AppV5xInstaller

Určuje, že typ nasazení detekuje informace o aplikaci a typy nasazení ze souboru balíčku aplikace Virtualization (App-V) 5,0. AppV.

Type: SwitchParameter
Parameter Sets: SetByNamePropertyAppV5xInstaller, SetByValuePropertyAppV5xInstaller
Aliases:

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

-AppVInstaller

Označuje, že typ nasazení detekuje informace o aplikaci a typy nasazení ze souboru balíčku sady App-V. AppV.

Type: SwitchParameter
Parameter Sets: SetByNamePropertyAppVInstaller, SetByValuePropertyAppVInstaller
Aliases:

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

– ApplicationName

Určuje název aplikace nasazení, která obsahuje typ nasazení.

Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyOtherInstaller, SetByNamePropertyWindows8Installer, SetByNamePropertyAppV5xInstaller, SetByNamePropertyAppVInstaller, SetByNamePropertyMacInstaller, SetByNamePropertyWmInstaller, SetByNamePropertyWindowsStoreInstaller, SetByNamePropertyWebAppInstaller, SetByNamePropertyMobileMsiConfigureRule, SetByNamePropertyWindowsPhoneStoreInstaller, SetByNamePriority, SetByIdPriority
Aliases:

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

-ApplicationNameInWindowsStore

určuje název aplikace v úložišti Windows.

Type: String
Parameter Sets: SetByNamePropertyWindowsStoreInstaller, SetByValuePropertyWindowsStoreInstaller
Aliases:

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

-ClearRequirements

Označuje, že tato rutina vymaže požadavky typu nasazení.

Type: SwitchParameter
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyOtherInstaller, SetByNamePropertyWindows8Installer, SetByNamePropertyAppV5xInstaller, SetByNamePropertyAppVInstaller, SetByNamePropertyMacInstaller, SetByNamePropertyWmInstaller, SetByNamePropertyWindowsStoreInstaller, SetByNamePropertyWebAppInstaller, SetByNamePropertyMobileMsiConfigureRule, SetByValuePropertyMobileMsiConfigureRule, SetByValuePropertyMsiConfigureRule, SetByValuePropertyOtherInstaller, SetByValuePropertyWindows8Installer, SetByValuePropertyAppV5xInstaller, SetByValuePropertyAppVInstaller, SetByValuePropertyMacInstaller, SetByValuePropertyWmInstaller, SetByValuePropertyWindowsStoreInstaller, SetByValuePropertyWebAppInstaller, SetByNamePropertyWindowsPhoneStoreInstaller, SetByValuePropertyWindowsPhoneStoreInstaller
Aliases:

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

-Confirm

Před spuštěním rutiny zobrazí výzvu k potvrzení.

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

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

-ContentLocation

Určuje cestu k obsahu. Systémový server lokality vyžaduje oprávnění ke čtení souborů obsahu.

Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyOtherInstaller, SetByNamePropertyWindows8Installer, SetByNamePropertyMacInstaller, SetByNamePropertyWmInstaller, SetByNamePropertyMobileMsiConfigureRule, SetByValuePropertyMobileMsiConfigureRule, SetByValuePropertyMsiConfigureRule, SetByValuePropertyOtherInstaller, SetByValuePropertyWindows8Installer, SetByValuePropertyMacInstaller, SetByValuePropertyWmInstaller, SetByNamePropertyWindowsPhoneStoreInstaller, SetByValuePropertyWindowsPhoneStoreInstaller
Aliases: InstallationFileLocation

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

-DeploymentTypeId

Určuje ID typu pro typ nasazení.

Type: Int32
Parameter Sets: SetByIdPriority
Aliases: CIId, CI_ID, Id

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

-DeploymentTypeName

Určuje název typu nasazení.

Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyOtherInstaller, SetByNamePropertyWindows8Installer, SetByNamePropertyAppV5xInstaller, SetByNamePropertyAppVInstaller, SetByNamePropertyMacInstaller, SetByNamePropertyWmInstaller, SetByNamePropertyWindowsStoreInstaller, SetByNamePropertyWebAppInstaller, SetByNamePropertyMobileMsiConfigureRule, SetByNamePropertyWindowsPhoneStoreInstaller, SetByNamePriority
Aliases: LocalizedDisplayName, Name

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

-DetectDeploymentTypeByCustomScript

Označuje, že typ nasazení používá vlastní skript k detekci přítomnosti tohoto typu nasazení.

Type: SwitchParameter
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:

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

-DisableWildcardHandling

Tento parametr považuje zástupné znaky jako literálové hodnoty znaků. Nejde kombinovat s ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-EnableBranchCache

označuje, že klienti, kteří používají službu Windows BranchCache, můžou stahovat obsah z místního distribučního bodu. stahování obsahu z cloudových distribučních bodů může být vždy sdíleno klienty, které používají službu Windows BranchCache.

Type: Boolean
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyWindows8Installer, SetByValuePropertyMsiConfigureRule, SetByValuePropertyWindows8Installer
Aliases: AllowClientsToShareContentOnSameSubnet

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

-EnableContentLocationFallback

Určuje, jestli klienti můžou používat back-source umístění obsahu.

Type: Boolean
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyWindows8Installer, SetByNamePropertyAppV5xInstaller, SetByNamePropertyAppVInstaller, SetByValuePropertyMsiConfigureRule, SetByValuePropertyWindows8Installer, SetByValuePropertyAppV5xInstaller, SetByValuePropertyAppVInstaller
Aliases: AllowClientsToUseFallbackSourceLocationForContent

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

-EnablePeerToPeerContentDistribution

Určuje, zda mohou klienti distribuovat obsah do jiných klientů.

Type: Boolean
Parameter Sets: SetByNamePropertyAppV5xInstaller, SetByNamePropertyAppVInstaller, SetByValuePropertyAppV5xInstaller, SetByValuePropertyAppVInstaller
Aliases:

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

-EnableUserUninstall

Určete, jestli se má povolit odinstalace uživatele.

Type: Boolean
Parameter Sets: SetByNamePropertyWmInstaller, SetByValuePropertyWmInstaller
Aliases: AllowUserToUninstall, AllowsUsersToUninstallThisContent

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

-EstimatedInstallationTimeMins

Určuje odhadovanou dobu instalace v řádu minut.

Type: Int32
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases: EstimatedInstallationTimeMinutes

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

-Force32BitDetectionScript

Určuje, zda spustit skript jako 32 proces na 64 klientech.

Type: Boolean
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases: RunScriptAs32BitProcessOn64BitClient

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

-Force32BitInstaller

Označuje, zda se má spustit instalační program jako 32 proces na 64 klientech.

Type: Boolean
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases: RunInstallationAndUninstallProgramAs32BitProcessOn64BitClient

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

-ForceWildcardHandling

Tento parametr zpracovává zástupné znaky a může vést k neočekávanému chování (nedoporučujeme). Nejde kombinovat s DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

– Položky InputObject

Určuje objekt typu nasazení pro Configuration Manager. Chcete-li získat objekt typu nasazení, použijte rutinu Get-CMDeploymentType .

Type: IResultObject
Parameter Sets: SetByValuePriority, SetByValuePropertyMobileMsiConfigureRule, SetByValuePropertyMsiConfigureRule, SetByValuePropertyOtherInstaller, SetByValuePropertyWindows8Installer, SetByValuePropertyAppV5xInstaller, SetByValuePropertyAppVInstaller, SetByValuePropertyMacInstaller, SetByValuePropertyWmInstaller, SetByValuePropertyWindowsStoreInstaller, SetByValuePropertyWebAppInstaller, SetByValuePropertyWindowsPhoneStoreInstaller
Aliases: DeploymentType

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

-InstallationBehaviorType

Určuje chování při instalaci typu nasazení.

Type: InstallationBehaviorType
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:
Accepted values: InstallForUser, InstallForSystem, InstallForSystemIfResourceIsDeviceOtherwiseInstallForUser

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

-InstallationCommandLine

Zadejte příkazový řádek pro instalaci aplikace.

Type: String
Parameter Sets: SetByNamePropertyMobileMsiConfigureRule, SetByValuePropertyMobileMsiConfigureRule
Aliases:

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

-InstallationProgram

určuje příkazový řádek pro Instalační služba systému Windows.

Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyMacInstaller, SetByValuePropertyMsiConfigureRule, SetByValuePropertyMacInstaller
Aliases:

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

-InstallationProgramVisibility

Určuje režim, ve kterém je typ nasazení spuštěn na klientských zařízeních.

Type: UserInteractionMode
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:
Accepted values: Normal, Minimized, Maximized, Hidden

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

-InstallationStartIn

Určuje složku, která obsahuje instalační program pro typ nasazení. Tato složka může představovat absolutní cestu klienta nebo cestu do složky distribučního bodu, která obsahuje instalační soubory.

Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:

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

– Jazyk

Určuje pole jazyků, které podporuje typ nasazení.

Type: String[]
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyOtherInstaller, SetByNamePropertyWindows8Installer, SetByNamePropertyAppV5xInstaller, SetByNamePropertyAppVInstaller, SetByNamePropertyMacInstaller, SetByNamePropertyWmInstaller, SetByNamePropertyWindowsStoreInstaller, SetByNamePropertyWebAppInstaller, SetByValuePropertyMsiConfigureRule, SetByValuePropertyOtherInstaller, SetByValuePropertyWindows8Installer, SetByValuePropertyAppV5xInstaller, SetByValuePropertyAppVInstaller, SetByValuePropertyMacInstaller, SetByValuePropertyWmInstaller, SetByValuePropertyWindowsStoreInstaller, SetByValuePropertyWebAppInstaller, SetByNamePropertyWindowsPhoneStoreInstaller, SetByValuePropertyWindowsPhoneStoreInstaller
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Type: String[]
Parameter Sets: SetByNamePropertyMobileMsiConfigureRule, SetByValuePropertyMobileMsiConfigureRule
Aliases:

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

-LoadContentIntoAppVCacheBeforeLaunch

Určuje, jestli se má načíst obsah do mezipaměti AppV při nasazování aplikace.

Type: Boolean
Parameter Sets: SetByNamePropertyAppVInstaller, SetByValuePropertyAppVInstaller
Aliases:

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

-LogonRequirementType

Určuje požadavek na přihlášení pro typ nasazení.

Type: LogonRequirementType
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:
Accepted values: OnlyWhenUserLoggedOn, WhereOrNotUserLoggedOn, WhetherOrNotUserLoggedOn, OnlyWhenNoUserLoggedOn

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

-MacInstaller

Označuje, že typ nasazení zjišťuje informace o aplikaci a typy nasazení ze souboru instalačního programu pro macOS (.cmmac), který byl vytvořen pomocí nástroje CMAppUtil.

Type: SwitchParameter
Parameter Sets: SetByNamePropertyMacInstaller, SetByValuePropertyMacInstaller
Aliases:

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

-MacRebootBehavior

Určuje chování při restartování počítačů s macOS.

Type: MacRebootBehavior
Parameter Sets: SetByNamePropertyMacInstaller, SetByValuePropertyMacInstaller
Aliases:
Accepted values: NoAction, ForceReboot

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

-MaximumAllowedRunTimeMins

Určuje maximální dobu běhu v minutách.

Type: Int32
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyWindows8Installer, SetByNamePropertyWindowsStoreInstaller, SetByValuePropertyMsiConfigureRule, SetByValuePropertyWindows8Installer, SetByValuePropertyWindowsStoreInstaller
Aliases: MaximumAllowedRunTimeMinutes

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

-MobileMsiInstaller

Type: SwitchParameter
Parameter Sets: SetByNamePropertyMobileMsiConfigureRule, SetByValuePropertyMobileMsiConfigureRule
Aliases:

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

-MsiOrScriptInstaller

Označuje, že nasazení používá instalační program skriptu.

Type: SwitchParameter
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:

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

-NewDeploymentTypeName

Určuje název nového typu nasazení.

Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyOtherInstaller, SetByNamePropertyWindows8Installer, SetByNamePropertyAppV5xInstaller, SetByNamePropertyAppVInstaller, SetByNamePropertyMacInstaller, SetByNamePropertyWmInstaller, SetByNamePropertyWindowsStoreInstaller, SetByNamePropertyWebAppInstaller, SetByNamePropertyMobileMsiConfigureRule, SetByValuePropertyMobileMsiConfigureRule, SetByValuePropertyMsiConfigureRule, SetByValuePropertyOtherInstaller, SetByValuePropertyWindows8Installer, SetByValuePropertyAppV5xInstaller, SetByValuePropertyAppVInstaller, SetByValuePropertyMacInstaller, SetByValuePropertyWmInstaller, SetByValuePropertyWindowsStoreInstaller, SetByValuePropertyWebAppInstaller, SetByNamePropertyWindowsPhoneStoreInstaller, SetByValuePropertyWindowsPhoneStoreInstaller
Aliases:

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

-OnFastNetworkMode

Určuje chování instalace typu nasazení v rychlé síti.

Type: OnFastNetworkMode
Parameter Sets: SetByNamePropertyAppV5xInstaller, SetByNamePropertyAppVInstaller, SetByValuePropertyAppV5xInstaller, SetByValuePropertyAppVInstaller
Aliases:
Accepted values: RunLocal, RunFromNetwork, DownloadContentForStreaming

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

-OnSlowNetworkMode

Určuje chování instalace typu nasazení v pomalé síti.

Type: ContentHandlingMode
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyWindows8Installer, SetByNamePropertyAppV5xInstaller, SetByNamePropertyAppVInstaller, SetByValuePropertyMsiConfigureRule, SetByValuePropertyWindows8Installer, SetByValuePropertyAppV5xInstaller, SetByValuePropertyAppVInstaller
Aliases:
Accepted values: DoNothing, Download, DownloadContentForStreaming

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

-PassThru

Vrátí aktuální pracovní objekt. Ve výchozím nastavení tato rutina negeneruje žádný výstup.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-PersistContentInClientCache

Určuje, jestli typ nasazení ukládá obsah do mezipaměti na klientském počítači po neomezenou dobu.

Type: Boolean
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyWindows8Installer, SetByNamePropertyAppV5xInstaller, SetByNamePropertyAppVInstaller, SetByValuePropertyMsiConfigureRule, SetByValuePropertyWindows8Installer, SetByValuePropertyAppV5xInstaller, SetByValuePropertyAppVInstaller
Aliases:

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

-Priority (Priorita)

Určuje změnu priority typu nasazení.

Type: PriorityChangeType
Parameter Sets: SetByValuePriority, SetByNamePriority, SetByIdPriority
Aliases:
Accepted values: Increase, Decrease

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

-ProductCode

Určuje kód produktu v metodě detekce pro typ nasazení.

Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:

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

-RebootBehavior

Určuje chování při restartování klientského počítače.

Type: RebootBehavior
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:
Accepted values: BasedOnExitCode, NoAction, ProgramReboot, ForceReboot

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

-RemoteComputerName

Určuje název vzdáleného počítače.

Type: String
Parameter Sets: SetByNamePropertyWindowsStoreInstaller, SetByValuePropertyWindowsStoreInstaller
Aliases:

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

-RemoveRequirement

Odebere z tohoto typu nasazení stávající požadavky na instalaci.

Type: Rule[]
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByNamePropertyOtherInstaller, SetByNamePropertyWindows8Installer, SetByNamePropertyAppV5xInstaller, SetByNamePropertyAppVInstaller, SetByNamePropertyMacInstaller, SetByNamePropertyWmInstaller, SetByNamePropertyWindowsStoreInstaller, SetByNamePropertyWebAppInstaller, SetByNamePropertyMobileMsiConfigureRule, SetByValuePropertyMobileMsiConfigureRule, SetByValuePropertyMsiConfigureRule, SetByValuePropertyOtherInstaller, SetByValuePropertyWindows8Installer, SetByValuePropertyAppV5xInstaller, SetByValuePropertyAppVInstaller, SetByValuePropertyMacInstaller, SetByValuePropertyWmInstaller, SetByValuePropertyWindowsStoreInstaller, SetByValuePropertyWebAppInstaller, SetByNamePropertyWindowsPhoneStoreInstaller, SetByValuePropertyWindowsPhoneStoreInstaller
Aliases:

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

-RequireUserInteraction

Určuje, jestli uživatel může pracovat s instalací typu nasazení a konfigurovat možnosti instalace.

Type: Boolean
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases: RequiresUserInteraction

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

-ScriptContent

Určuje skript, který zjistí typ nasazení.

Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:

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

-ScriptType

Určuje skriptovací jazyk, který chcete použít ke zjištění typu nasazení.

Type: ScriptLanguage
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:
Accepted values: PowerShell, VBScript, JavaScript

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

-SourceUpdateProductCode

Určuje kód produktu Windows instalačního programu, který povolí správu zdrojového kódu instalace. Windows Správa zdrojového kódu umožňuje, aby se MSI reprezentovaná tímto typem nasazení automaticky aktualizovala nebo opravovala ze zdrojových souborů obsahu v dostupném distribučním bodě.

Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:

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

-TriggerVpn

Označuje, že se automaticky používá připojení k virtuální privátní síti (VPN).

Type: Boolean
Parameter Sets: SetByNamePropertyWindows8Installer, SetByValuePropertyWindows8Installer
Aliases:

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

-UninstallProgram

Určuje název odinstalačního programu a všechny parametry, které vyžaduje.

Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:

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

-UninstallStartIn

Určuje složku, která obsahuje odinstalační program pro typ nasazení. Tato složka může představovat absolutní cestu ke klientovi nebo cestu, která souvisí se složkou distribučního bodu obsahující balíček.

Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:

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

-WebAppInstaller

Označuje, že tato rutina používá k nasazení instalační program webové aplikace.

Type: SwitchParameter
Parameter Sets: SetByNamePropertyWebAppInstaller, SetByValuePropertyWebAppInstaller
Aliases:

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

-WhatIf

Zobrazuje, co by se stalo při spuštění rutiny. Rutina se nespouštěl.

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

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

-Windows8AppInstaller

Označuje, že typ nasazení zjistí informace o aplikaci a typy nasazení ze Windows balíčku aplikace (.appx).

Type: SwitchParameter
Parameter Sets: SetByNamePropertyWindows8Installer, SetByValuePropertyWindows8Installer
Aliases:

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

-WindowsMobileInstaller

Type: SwitchParameter
Parameter Sets: SetByNamePropertyWmInstaller, SetByValuePropertyWmInstaller
Aliases: WMInstaller

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

-WindowsPhoneStoreInstaller

Type: SwitchParameter
Parameter Sets: SetByNamePropertyWindowsPhoneStoreInstaller, SetByValuePropertyWindowsPhoneStoreInstaller
Aliases:

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

-WindowsStoreInstaller

Type: SwitchParameter
Parameter Sets: SetByNamePropertyWindowsStoreInstaller, SetByValuePropertyWindowsStoreInstaller
Aliases: DeepLinkInstaller

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

CommonParameters

Tato rutina podporuje společné parametry: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction a -WarningVariable. Další informace najdete v tématu about_CommonParameters.

INPUTS

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

OUTPUTS

IResultObject#SMS_DeploymentType

POZNÁMKY

Pokud chcete nakonfigurovat návratové kódy pro typ nasazení, použijte rutinu Add-CMDeploymentTypeReturnCode.

Get-CMDeploymentType

Remove-CMDeploymentType