Set-CMDeploymentType
SYNOPSIS
Ändra en distributionstyp för ett Konfigurationshanteraren program.
SYNTAX
SetByValuePriority (standard)
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
Cmdleten Set-CMDeploymentType ändrar en distributionstyp för ett program i Konfigurationshanteraren. En distributionstyp är en del av programmet som definierar hur programmet installeras på enheter.
Du kan också använda den här cmdleten för att ändra prioriteten för beroenden av distributionstypen. Konfigurationshanteraren utvärderar och installerar beroenden av en distributionstyp i prioritetsordning innan distributionstypen installeras.
Mer information finns i Introduktion till programhantering – Distributionstyper.
Anteckning
Kör Konfigurationshanteraren cmdlets från Konfigurationshanteraren platsenheten, till exempel PS XYZ:\>
. Mer information finns i Komma igång.
EXAMPLES
Exempel 1: Öka prioriteten för ett distributionsprogram
Det här kommandot konfigurerar en distributionstyp med namnet Konfigurationshanteraren Console - Windows Installer (Native) för ett program med namnet 2 – Underordnad och ökar programmets prioritet.
Set-CMDeploymentType -ApplicationName "2 - Child" -DeploymentTypeName "Configuration Manager Console - Windows Installer (Native)" -Priority Increase
PARAMETERS
-AddRequirement
Lägger till en matris med krav för den här distributionstypen.
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
Anger en beskrivning av distributionstypen.
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
Anger att distributionstypen identifierar programinformation och distributionstyper från en Programvirtualisering (App-V) 5.0 .appv-paketfil.
Type: SwitchParameter
Parameter Sets: SetByNamePropertyAppV5xInstaller, SetByValuePropertyAppV5xInstaller
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AppVInstaller
Anger att distributionstypen identifierar programinformation och distributionstyper från en App-V .appv-paketfil.
Type: SwitchParameter
Parameter Sets: SetByNamePropertyAppVInstaller, SetByValuePropertyAppVInstaller
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ApplicationName
Anger namnet på det distributionsprogram som innehåller distributionstypen.
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
Anger namnet på programmet i Windows Store.
Type: String
Parameter Sets: SetByNamePropertyWindowsStoreInstaller, SetByValuePropertyWindowsStoreInstaller
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ClearRequirements
Anger att denna cmdlet rensar kraven för distributionstyp.
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
Uppmanar dig att bekräfta innan du kör cmdleten.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-ContentLocation
Anger sökvägen till innehållet. Platssystemservern kräver behörighet att läsa innehållsfilerna.
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
Anger typ-ID för en distributionstyp.
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
Anger namnet på en distributionstyp.
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
Anger att distributionstypen använder ett anpassat skript för att identifiera förekomsten av den här distributionstypen.
Type: SwitchParameter
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-DisableWildcardHandling
Den här parametern behandlar jokertecken som värden för literaltecken. Du kan inte kombinera den med ForceWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-EnableBranchCache
Anger att klienter som använder Windows BranchCache tillåts ladda ned innehåll från en lokal distributionsplats. Innehållsnedladdningar från molnbaserade distributionsplatser kan alltid delas av klienter som använder 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
Ange om tillåter att klienter använder fallback-källplats för innehållet.
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
Anger om klienter kan distribuera innehåll till andra klienter.
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
Ange om du vill aktivera avinstallation av användare.
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
Anger en uppskattad installationstid i minuter.
Type: Int32
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases: EstimatedInstallationTimeMinutes
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Force32BitDetectionScript
Anger om skript ska köras som 32-bitarsprocess på 64-bitarsklienter.
Type: Boolean
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases: RunScriptAs32BitProcessOn64BitClient
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Force32BitInstaller
Anger om installationsprogrammet ska köras som 32-bitarsprocess på 64-bitarsklienter.
Type: Boolean
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases: RunInstallationAndUninstallProgramAs32BitProcessOn64BitClient
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ForceWildcardHandling
Den här parametern bearbetar jokertecken och kan leda till oväntat beteende (rekommenderas inte). Du kan inte kombinera den med DisableWildcardHandling.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InputObject
Anger ett distributionstypobjekt för Konfigurationshanteraren. Om du vill hämta ett distributionstypobjekt använder du cmdleten 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
Anger installationsbeteendet för distributionstypen.
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
Ange kommandoraden för att installera programmet.
Type: String
Parameter Sets: SetByNamePropertyMobileMsiConfigureRule, SetByValuePropertyMobileMsiConfigureRule
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-InstallationProgram
Anger kommandoraden för Windows Installationsprogram.
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
Anger i vilket läge distributionstypen körs på klientenheter.
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
Anger den mapp som innehåller installationsprogrammet för distributionstypen. Den här mappen kan vara en absolut sökväg på klienten eller en sökväg till den distributionsplatsmapp som innehåller installationsfilerna.
Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Language
Anger en matris med språk som distributionstypen stöder.
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
Anger om innehållet ska läsas in i AppV-cachen när du distribuerar programmet.
Type: Boolean
Parameter Sets: SetByNamePropertyAppVInstaller, SetByValuePropertyAppVInstaller
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-LogonRequirementType
Anger inloggningskravet för distributionstypen.
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
Anger att distributionstypen identifierar programinformation och distributionstyper från en macOS-installationsfil (.cmmac) som skapades med verktyget CMAppUtil.
Type: SwitchParameter
Parameter Sets: SetByNamePropertyMacInstaller, SetByValuePropertyMacInstaller
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-MacRebootBehavior
Anger omstartsbeteendet för datorer som kör 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
Anger den maximala körningstiden i minuter.
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
Anger att distributionen använder ett installationsprogram för skript.
Type: SwitchParameter
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-NewDeploymentTypeName
Anger namnet på en ny distributionstyp.
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
Anger installationsbeteendet för distributionstypen i ett snabbt nätverk.
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
Anger installationsbeteendet för distributionstypen i ett långsamt nätverk.
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
Returnerar det aktuella arbetsobjektet. Som standard genererar denna cmdlet inga utdata.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-PersistContentInClientCache
Anger om distributionstypen sparar innehåll i cacheminnet på obestämd tid på klientdatorn.
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
-Prioritet
Anger en ändring av distributionstypens prioritet.
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
Anger produktkoden i identifieringsmetoden för distributionstypen.
Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RebootBehavior
Anger omstartsbeteendet för klientdatorn.
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
Anger ett fjärrdatornamn.
Type: String
Parameter Sets: SetByNamePropertyWindowsStoreInstaller, SetByValuePropertyWindowsStoreInstaller
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-RemoveRequirement
Tar bort de befintliga installationskraven från den här distributionstypen.
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
Anger om en användare kan interagera med distributionstypsinstallationen för att konfigurera installationsalternativen.
Type: Boolean
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases: RequiresUserInteraction
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ScriptContent
Anger skriptet för att identifiera distributionstypen.
Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ScriptType
Anger det skriptspråk som du vill använda för att identifiera distributionstypen.
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
Anger produktkoden Windows installationsprogrammet för att aktivera hantering av installationskällan. Windows Källhantering gör att en MSI som representeras av den här distributionstypen automatiskt uppdateras eller repareras från innehållskällfiler på en tillgänglig distributionsplats.
Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-TriggerVpn
Anger att en vpn-anslutning (virtuellt privat nätverk) används automatiskt.
Type: Boolean
Parameter Sets: SetByNamePropertyWindows8Installer, SetByValuePropertyWindows8Installer
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-UninstallProgram
Anger namnet på avinstallationsprogrammet och eventuella parametrar som krävs.
Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-UninstallStartIn
Anger den mapp som innehåller avinstallationsprogrammet för distributionstypen. Den här mappen kan vara en absolut sökväg på klienten eller en sökväg som är relativ till den distributionsplatsmapp som innehåller paketet.
Type: String
Parameter Sets: SetByNamePropertyMsiConfigureRule, SetByValuePropertyMsiConfigureRule
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WebAppInstaller
Anger att denna cmdlet använder ett installationsprogram för webbprogram för distributionen.
Type: SwitchParameter
Parameter Sets: SetByNamePropertyWebAppInstaller, SetByValuePropertyWebAppInstaller
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Visar vad som skulle hända om cmdleten kördes. Cmdleten körs inte.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
-Windows8AppInstaller
Anger att distributionstypen identifierar programinformation och distributionstyper från en Windows-appaketfil (.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
Denna cmdlet har stöd för parametrarna -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction och -WarningVariable. Mer information finns i about_CommonParameters.
INPUTS
Microsoft.ConfigurationManagement.ManagementProvider.IResultObject
OUTPUTS
IResultObject#SMS_DeploymentType
ANTECKNINGAR
Om du vill konfigurera returkoder för en distributionstyp använder du cmdleten Add-CMDeploymentTypeReturnCode.