Get-AppvServerPackage
Returns App-V Server packages.
Syntax
Get-AppvServerPackage
[[-Name] <String>]
[[-Version] <String>]
[<CommonParameters>]
Get-AppvServerPackage
[-PackageID] <Guid>
[[-VersionID] <Guid>]
[<CommonParameters>]
Description
The Get-AppvServerPackage cmdlet returns a set of Microsoft Application Virtualization (App-V) Server packages based on the criteria provided.
Examples
Example 1: Return packages that include a partial name
PS C:\> Get-AppvServerPackage -Name "Office*"
This command returns all packages that have a name that matches the criteria specified in the Name parameter.
Example 2: Return a single version of a package
PS C:\> Get-AppvServerPackage -Name "Office" -Version "2"
This command returns the single package that has the specified name and version.
Example 3: Return all versions of a package
PS C:\> Get-AppvServerPackage -PackageID A12D32445F
This command returns all versions of the package that have the specified package GUID.
Example 4: Return all the packages
PS C:\> Get-AppvServerPackage
This command returns a list of all the packages on the system.
Parameters
-Name
Specifies the friendly name of the package given when the package was created. This value is obtained from the package manifest.
Type: | String |
Position: | 1 |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PackageID
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.
Type: | Guid |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Version
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.
Type: | String |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-VersionID
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.
Type: | Guid |
Position: | 2 |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Outputs
AppvServer.AppvServerPackage