Get AppvClientPackage - PowerShell


Overview

Get-AppvClientPackage retrieves information about the client packages installed on a device using the App-V client.

Syntax

Get-AppvClientPackage [-ComputerName] <String[]> [-PackageId] <String[]> [-Publisher] <String[]> [-ProductCode] <String[]> [-Version] <String[]> [-AllPackages] [-ApplicationName] <String> [-Published] [-Unpublished]

Options/Flags

  • -ComputerName: Specify the remote computer to connect to for retrieving the client packages.
  • -PackageId: Filter results based on the list of package IDs.
  • -Publisher: Filter results based on the list of publishers.
  • -ProductCode: Filter results based on the list of product codes.
  • -Version: Filter results based on the list of versions.
  • -AllPackages: Retrieve all installed client packages, including both published and unpublished.
  • -ApplicationName: Retrieve the client package information for a specific application.
  • -Published: Retrieve only published client packages.
  • -Unpublished: Retrieve only unpublished client packages.

Examples

Example 1: Get all App-V client packages

Get-AppvClientPackage -AllPackages

Example 2: Get the client package for a specific application

Get-AppvClientPackage -ApplicationName "Microsoft Word"

Example 3: Get the client packages installed on a remote computer

Get-AppvClientPackage -ComputerName "RemoteComputer"

Common Issues

Issue: Getting no results when filtering by package ID.
Solution: Ensure the provided package ID matches the actual package ID of the installed App-V client package.

Integration

The Get-AppvClientPackage command can be used in conjunction with other App-V PowerShell cmdlets for advanced management tasks, such as:

  • Get-AppvClientConfiguration: Retrieve the App-V client configuration.
  • Publish-AppvClientPackage: Publish a client package to make it available for use.