Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Set-AppvClientPackage

Brian Lich|Last Updated: 3/26/2017

SYNOPSIS

Configures an App-V Client Package.

SYNTAX

ByGuid (Default)

Set-AppvClientPackage [-Path <String>] [-DynamicDeploymentConfiguration <String>] [-UseNoConfiguration]
 [-PackageId] <Guid> [-VersionId] <Guid> [<CommonParameters>]

ByPackage

Set-AppvClientPackage [-Path <String>] [-DynamicDeploymentConfiguration <String>] [-UseNoConfiguration]
 [-Package] <AppvClientPackage> [<CommonParameters>]

ByName

Set-AppvClientPackage [-Path <String>] [-DynamicDeploymentConfiguration <String>] [-UseNoConfiguration]
 [-Name] <String> [[-Version] <String>] [<CommonParameters>]

DESCRIPTION

The Set-AppvClientPackage cmdlet modifies the configuration files of an Microsoft Application Virtualization (App-V) package.

EXAMPLES

Example 1: Set a deployment configuration for a package

PS C:\> Set-AppvClientPackage -Name "MyApp" -Version 1 -DynamicDeploymentConfiguration "C:\policies\MyApp.xml"

This command sets a new deployment configuration for a package.

PARAMETERS

-DynamicDeploymentConfiguration

Specifies the path of a Dynamic Deployment Configuration file for the App-V package to be added. The cmdlet uses the Dynamic Deployment Configuration file to override the default behavior provided in the package manifest.

Type: String
Parameter Sets: (All)
Aliases: 

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

-Name

Specifies the friendly name of the package given during Sequencing time. This value is obtained from the package manifest.

Type: String
Parameter Sets: ByName
Aliases: 

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

-Package

Specifies an App-V package.

Type: AppvClientPackage
Parameter Sets: ByPackage
Aliases: 

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

-PackageId

Specifies the GUID that uniquely identifies the package. It can be found in the package manifest or by opening the package in the App-V Sequencer. The package ID is shared by all versions of a package.

Type: Guid
Parameter Sets: ByGuid
Aliases: 

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

-Path

Specifies the path specifies the location of the .APPV file that contains the package to be added. This value can be local directory, a network directory, or an HTTP or HTTPS URL.

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

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

-UseNoConfiguration

Indicates that this cmdlet applies the default computer policy to the selected package.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

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

-Version

Specifies the version of an App-V package in a lineage. If you do not specify this parameter, the cmdlet operates on all available versions of the package on the target computer.

Type: String
Parameter Sets: ByName
Aliases: 

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

-VersionId

Specifies a GUID that differentiates a package version from other versions, whether older, newer, or of a different lineage. If you do not specify this parameter, the cmdlet operates on all versions of the package.

Type: Guid
Parameter Sets: ByGuid
Aliases: 

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Microsoft.AppvAgent.AppvClientPackage

OUTPUTS

Microsoft.AppvAgent.AppvClientPackage

NOTES

Add-AppvClientPackage

Get-AppvClientPackage

Mount-AppvClientPackage

Publish-AppvClientPackage

Remove-AppvClientPackage

Repair-AppvClientPackage

Stop-AppvClientPackage

Unpublish-AppvClientPackage

© 2017 Microsoft