Add-CMWindowsAppxDeploymentType

SYNOPSIS

Voegt een implementatietype Windows app-pakket toe.

SYNTAX

ByAppName (standaard)

Add-CMWindowsAppxDeploymentType [-ContentFallback] [-SlowNetworkDeploymentMode <ContentHandlingMode>]
 [-TriggerVpn] [-DeploymentTypeName <String>] [-AddRequirement <Rule[]>] -ApplicationName <String>
 [-RemoveLanguage <String[]>] [-RemoveRequirement <Rule[]>] [-AddLanguage <String[]>] [-Comment <String>]
 -ContentLocation <String> [-Force] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

ByAppId

Add-CMWindowsAppxDeploymentType [-ContentFallback] [-SlowNetworkDeploymentMode <ContentHandlingMode>]
 [-TriggerVpn] [-DeploymentTypeName <String>] [-AddRequirement <Rule[]>] -ApplicationId <Int32>
 [-RemoveLanguage <String[]>] [-RemoveRequirement <Rule[]>] [-AddLanguage <String[]>] [-Comment <String>]
 -ContentLocation <String> [-Force] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

ByAppValue

Add-CMWindowsAppxDeploymentType [-ContentFallback] [-SlowNetworkDeploymentMode <ContentHandlingMode>]
 [-TriggerVpn] [-DeploymentTypeName <String>] [-AddRequirement <Rule[]>] -InputObject <IResultObject>
 [-RemoveLanguage <String[]>] [-RemoveRequirement <Rule[]>] [-AddLanguage <String[]>] [-Comment <String>]
 -ContentLocation <String> [-Force] [-DisableWildcardHandling] [-ForceWildcardHandling] [-WhatIf] [-Confirm]
 [<CommonParameters>]

DESCRIPTION

Met de cmdlet Add-CMWindowsAppxDeploymentType wordt een Windows app-pakketimplementatietype toegevoegd aan een toepassing.

Notitie

Voer Configuration Manager cmdlets uit vanaf Configuration Manager-sitestation, bijvoorbeeld PS XYZ:\> . Zie Aan de slag voor meer informatie.

EXAMPLES

Voorbeeld 1: een implementatietype Windows app-pakket toevoegen

PS XYZ:\>Add-CMWindowsAppxDeploymentType -ApplicationName "Application1" -DeploymentTypeName "DT1" -ContentLocation "\\Server1\Resources\Applications\appx\sccm_custom.appx" -AddLanguage "en-US","zh-CN" -Comment "New Deployment Type" -SlowNetworkDeploymentMode DoNothing -ContentFallback -TriggerVpn

Met deze opdracht wordt het implementatietype Windows app-pakket met de naam DT1 vanaf de opgegeven locatie toegevoegd aan de toepassing met de naam Application1 in het Engels en Chinees. Als u de parameter TriggerVpn opgeeft, wordt aangegeven dat er een VPN-verbinding wordt gebruikt.

Voorbeeld 2: een implementatietype Windows app-pakket toevoegen met behulp van de pijplijn

PS XYZ:\> Get-CMApplication -Name "Application1" | Add-CMWindowsAppxDeploymentType -DeploymentTypeName "DT1" -ContentLocation "\\Server1\Resources\Applications\appx\sccm_custom.appx" -AddLanguage "en-US","zh-CN" -Comment "New Deployment Type" -SlowNetworkDeploymentMode DoNothing -ContentFallback -TriggerVpn

Met deze opdracht wordt het toepassingsobject met de naam Application1 opgeslagen en wordt de pijplijnoperator gebruikt om het object door te geven aan Add-CMWindowsAppxDeploymentType. Add-CMWindowsAppxDeploymentType voegt een Windows app-pakket met de naam Dt1 toe vanaf de opgegeven locatie in het Engels en Chinees. Als u de parameter TriggerVpn opgeeft, wordt aangegeven dat er een VPN-verbinding wordt gebruikt.

PARAMETERS

-AddLanguage

Voegt een matrix van talen toe die door dit implementatietype worden ondersteund. Geef de talen op in de indeling 'languagecode2 country' of 'languagecode2', bijvoorbeeld: en, en-US, ja-JP, zh-CN.

Zie voor meer informatie CultureInfo.Name.

Type: String[]
Parameter Sets: (All)
Aliases: AddLanguages, Languages, Language

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

-AddRequirement

Voegt een matrix met vereisten voor dit implementatietype toe.

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

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

-ApplicationId

Hiermee geeft u de id van de toepassing die is gekoppeld aan dit implementatietype.

Type: Int32
Parameter Sets: ByAppId
Aliases: CI_ID, CIId

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

-ApplicationName

Hiermee geeft u de naam van de toepassing die is gekoppeld aan dit implementatietype.

Type: String
Parameter Sets: ByAppName
Aliases:

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

-Opmerking

Hiermee geeft u een beschrijving voor dit implementatietype.

Type: String
Parameter Sets: (All)
Aliases: AdministratorComment

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

-Confirm

Hiermee wordt u gevraagd om bevestiging voordat u de cmdlet uitvoert.

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

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

-ContentFallback

Geeft aan dat een client een terugvallocatie van een beheerpunt kan gebruiken. Een terugvallocatiepunt biedt een alternatieve locatie voor broninhoud wanneer de inhoud voor het implementatietype niet beschikbaar is op een van de voorkeursdistributiepunten.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: EnableContentLocationFallback, AllowClientsToUseFallbackSourceLocationForContent

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

-ContentLocation

Hiermee geeft u het pad van de inhoud. De sitesysteemserver heeft machtigingen nodig om de inhoudsbestanden te lezen.

Type: String
Parameter Sets: (All)
Aliases: InstallationFileLocation

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

-DeploymentTypeName

Hiermee geeft u een weergavenaam voor dit implementatietype.

Type: String
Parameter Sets: (All)
Aliases:

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

-DisableWildcardHandling

Deze parameter behandelt jokertekens als letterlijke tekenwaarden. U kunt deze niet combineren met ForceWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-Force

Dwingt de opdracht uit te voeren zonder te vragen om bevestiging van de gebruiker.

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

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

-ForceWildcardHandling

Deze parameter verwerkt jokertekens en kan leiden tot onverwacht gedrag (niet aanbevolen). U kunt deze niet combineren met DisableWildcardHandling.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-InputObject

Hiermee geeft u een toepassingsobject op. Gebruik de cmdlet Get-CMApplication om een toepassingsobject te verkrijgen.

Type: IResultObject
Parameter Sets: ByAppValue
Aliases: Application

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

-RemoveLanguage

Hiermee verwijdert u een matrix met bestaande talen van dit implementatietype. Geef de talen op in de indeling 'languagecode2 country' of 'languagecode2', bijvoorbeeld: en, en-US, ja-JP, zh-CN.

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

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

-RemoveRequirement

Hiermee verwijdert u de bestaande installatievereisten van dit implementatietype.

Type: Rule[]
Parameter Sets: (All)
Aliases: RemoveRequirements

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

-SlowNetworkDeploymentMode

Hiermee geeft u het installatiegedrag van het implementatietype op een traag netwerk op. Geldige waarden zijn:

  • DoNothing
  • Downloaden
  • DownloadContentForStreaming
Type: ContentHandlingMode
Parameter Sets: (All)
Aliases:
Accepted values: DoNothing, Download

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

-TriggerVpn

Geeft aan dat een VPN-verbinding (virtueel particulier netwerk) automatisch wordt gebruikt.

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

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

-WhatIf

Hiermee wordt weergegeven wat er zou gebeuren als u de cmdlet uitvoert. De cmdlet wordt niet uitgevoerd.

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

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

CommonParameters

Deze cmdlet biedt ondersteuning voor de meest gebruikte parameters: -Debug, - ErrorAction, - ErrorVariable, - InformationAction, -InformationVariable, - OutVariable,-OutBuffer, - PipelineVariable - Verbose, - WarningAction en -WarningVariable. Zie voor meer informatie about_CommonParameters.

INPUTS

Microsoft.ConfigurationManagement.ManagementProvider.IResultObject

OUTPUTS

System.Object

OPMERKINGEN

Get-CMApplication

Set-CMWindowsAppxDeploymentType