< Back

Set-AppvClientPackage

Tue Jan 29, 2019 9:25 pm

NAME Set-AppvClientPackage



SYNOPSIS

Configures an App-V Client Package.





SYNTAX

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

[<CommonParameters>]



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

[<CommonParameters>]



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

[<CommonParameters>]





DESCRIPTION

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





PARAMETERS

-DynamicDeploymentConfiguration [<String>]

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.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Name <String>

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



Required? true

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Package <AppvClientPackage>

Specifies an App-V package.



Required? true

Position? 1

Default value none

Accept pipeline input? true(ByValue)

Accept wildcard characters? false



-PackageId <Guid>

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.



Required? true

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Path [<String>]

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.



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-UseNoConfiguration [<SwitchParameter>]

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



Required? false

Position? named

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Version [<String>]

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.



Required? false

Position? 2

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-VersionId <Guid>

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.



Required? true

Position? 2

Default value none

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Microsoft.AppvAgent.AppvClientPackage







OUTPUTS

Microsoft.AppvAgent.AppvClientPackage







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.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=827724

Add-AppvClientPackage

Get-AppvClientPackage

Mount-AppvClientPackage

Publish-AppvClientPackage

Remove-AppvClientPackage

Repair-AppvClientPackage

Stop-AppvClientPackage

Unpublish-AppvClientPackage