Get-AppvClientPackage is accessible with the help of AppVClient module. To configure AppVClient, go through this link.
Synopsis
Returns App-V Client Packages.
Description
The Get-AppvClientPackage cmdlet returns a set of Microsoft Application Virtualization (App-V) Client Packages based on the criteria provided.
Parameters
-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.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Specifies the friendly name of the package given during Sequencing time. This value is obtained from the package manifest.
Type: | String |
Position: | 0 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PackageId
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.
Type: | Guid |
Position: | 0 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Version
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.
Type: | String |
Position: | 1 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-VersionId
Specifies the GUID that differentiates a package version from other versions, whether older, newer, or of a different lineage. If you do specify this parameter, the cmdlet operates on all versions of a package.
Type: | Guid |
Position: | 1 |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Syntax
Get-AppvClientPackage [[-Name] <String>] [[-Version] <String>] [-All] [<CommonParameters>]
Get-AppvClientPackage [-PackageId] <Guid> [[-VersionId] <Guid>] [-All] [<CommonParameters>]
——————-Example 1——————-
Get packages that have names that match a string
PS C:\> Get-AppvClientPackage -Name “VApp*” -All
This command gets the set of packages that have names that start with the string VApp.
——————-Example 2——————-
Get a specific version of a package by name
PS C:\> Get-AppvClientPackage -Name “VApp” -Version 4
This command gets the version 4 of the package named VApp.
——————-Example 3——————-
Get a package by using its package ID
PS C:\> Get-AppvClientPackage -PackageID <PackageID>
This command gets the package with the package ID of <PackageID>
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Get-AppvClientPackage
You can also read about
- Add-AppvClientPackage
- Mount-AppvClientPackage
- Publish-AppvClientPackage
- Remove-AppvClientPackage
- Repair-AppvClientPackage
- Set-AppvClientPackage
- Stop-AppvClientPackage
- Unpublish-AppvClientPackage