Get-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

Get-AppvClientPackage

Returns App-V Client Packages.

Sintassi

Parameter Set: ByName
Get-AppvClientPackage [[-Name] <String> ] [[-Version] <String> ] [-All] [ <CommonParameters>]

Parameter Set: ByGuid
Get-AppvClientPackage [-PackageId] <Guid> [[-VersionId] <Guid> ] [-All] [ <CommonParameters>]




Descrizione dettagliata

The Get-AppvClientPackage cmdlet returns a set of Microsoft Application Virtualization (App-V) Client Packages based on the criteria provided.

Parametri

-All

Indicates that the cmdlet uses the set of all packages added to the computers as the searchable set. If not provided, the cmdlet only uses packages that are entitled to the current user.


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?

false

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

false

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


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

false

Accetta caratteri jolly?

false

-Version<String>

Specifies the version of an App-V package in one specific lineage. If you do not specify this parameter, the cmdlet operates on 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 the GUID that differentiates a package version from other versions, whether older, newer, or of a completely different lineage. If you do specify this parameter, the cmdlet operateson all versions of a package.


Alias

none

Obbligatorio?

false

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.

Output

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

  • Microsoft.AppV.AppvClientPowerShell.AppvClientPackage

Note

  • If you do not specify any parameters, the cmdlet returns a set of all packages on the computer.

  • The cmdlet checks that you have permissions to perform the specific action. If not, the cmdlet returns the following error: The action could not be performed due to current App-V permissions. Please modify the permissions and try the operation again.

  • If the cmdlet cannot find the package, the cmdlet returns the following error: The specified package(s) could not be found. An error code is returned.

Esempi

Example 1: Get packages that have names that match a string

This command gets the set of packages that have names beginning with the string MyApp.


PS C:\> Get-AppvClientPackage -Name "MyApp*" -All

Example 2: Get a specific version of a package by name

This command gets the version 4 of the package named MyApp.


PS C:\> Get-AppvClientPackage -Name "MyApp" -Version 4

Example 3: Get a package by using its package ID

This command gets the package with the package ID of 793afd37-bd68-4ea1-859a-669f6afd0aa8.


PS C:\> Get-AppvClientPackage -PackageID 793afd37-bd68-4ea1-859a-669f6afd0aa8

Argomenti correlati

Aggiunte alla community

AGGIUNGI
Mostra: