Set-AppvClientPackage

Aggiornamento: dicembre 2014

Si applica a: Application Virtualization 5.0, Application Virtualization 5.0 SP1, Application Virtualization 5.0 SP2, Application Virtualization 5.0 SP3

Set-AppvClientPackage

Configures an App-V Client Package.

Sintassi

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

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

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




Descrizione dettagliata

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

Parametri

-DynamicDeploymentConfiguration<String>

Specifies the path to 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.


Alias

none

Obbligatorio?

false

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Name<String>

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


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Package<AppvClientPackage>

Not Specified.


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

True (ByValue)

Accetta caratteri jolly?

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 specific package.


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Path<String>

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


Alias

PSPath

Obbligatorio?

false

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-UseNoConfiguration

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


Alias

none

Obbligatorio?

false

Posizione?

named

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

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.


Alias

none

Obbligatorio?

false

Posizione?

2

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-VersionId<Guid>

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


Alias

none

Obbligatorio?

true

Posizione?

2

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

<CommonParameters>

Questo cmdlet supporta i parametri comuni: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer e -OutVariable. Per altre informazioni, vedere   about_CommonParameters (http://go.microsoft.com/fwlink/p/?LinkID=113216).

Input

Il tipo di input è il tipo degli oggetti che è possibile reindirizzare al cmdlet.

  • Microsoft.AppvAgent.AppvClientPackage

Output

Il tipo di output corrisponde al tipo di oggetti generati dal cmdlet.

  • Microsoft.AppvAgent.AppvClientPackage

Esempi

Example 1: Set a deployment configuration for a package

This command sets a new deployment configuration for a package.


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

Argomenti correlati

Aggiunte alla community

AGGIUNGI
Mostra: