Get-AppvServerPackage

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

Returns App-V Server packages.

Sintassi

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

Parameter Set: By GUID
Get-AppvServerPackage [-PackageID] <Guid> [[-VersionID] <Guid> ] [ <CommonParameters>]




Descrizione dettagliata

The Get-AppvServerPackage cmdlet returns a set of Microsoft Application Virtualization (App-V) Server packages based on the criteria provided.

Parametri

-Name<String>

Specifies the friendly name of the package given when the package was created. 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 package GUID that uniquely identifies the package. It can be found in the package manifest or by opening the package using the sequencer. The Package GUID is shared by all versions of a package.


Alias

none

Obbligatorio?

true

Posizione?

1

Valore predefinito

none

Accetta input da pipeline?

True (ByValue, ByPropertyName)

Accetta caratteri jolly?

false

-Version<String>

Specifies the version of an App-V package. If you do not specify a version, the cmdlet acts on all versions saved on the computer.


Alias

none

Obbligatorio?

false

Posizione?

2

Valore predefinito

none

Accetta input da pipeline?

True (ByValue, ByPropertyName)

Accetta caratteri jolly?

false

-VersionID<Guid>

Specifies a GUID that differentiates a package version from other versions. If you do not specify a version GUID, the cmdlet operates on all versions of the package.


Alias

none

Obbligatorio?

false

Posizione?

2

Valore predefinito

none

Accetta input da pipeline?

True (ByValue, ByPropertyName)

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.

  • AppvServer.AppvServerPackage

Esempi

Example 1: Return packages that include a partial name

This command returns all packages that have a name that matches the criteria specified in the Name parameter.


PS C:\> Get-AppvServerPackage -Name "Office*"

Example 2: Return a single version of a package

This command returns the single package that has the specified name and version.


PS C:\> Get-AppvServerPackage -Name "Office" -Version "2"

Example 3: Return all versions of a package

This command returns all versions of the package that have the specified package GUID.


PS C:\> Get-AppvServerPackage -PackageID A12D32445F

Example 4: Return all the packages

This command returns a list of all the packages on the system.


PS C:\> Get-AppvServerPackage

Argomenti correlati

Mostra: