App-V 5 PowerShell Commands / PowerShell Cmdlets

Here is a list of useful PowerShell commands for use with App-V 5. These PowerShell Cmdlets must be run with PowerShell 3.0 or above.

App-V 5 Client PowerShell Commands

These PowerShell commands should be run on the App-V 5 Client computer. You will need to import the App-V Client module first as it’s not imported by default (hence it won’t be listed in PowerShell ISE).

Import-Module AppvClient

This must be run to import the module to allow PowerShell to run PowerShell cmdlets for the App-V 5 Client.

Get-Command -Module Appvclient

This gets a list of PowerShell commands for the App-V Client module.

Add-AppvPublishingServer -Name <Name of App-V Publishing Server> -URL <URL>

Adds the specified App-V 5 Publishing Server to the App-V 5 Client.

Sync-AppvPublishingServer -Name <Name of App-V Publishing Server>

Syncs the App-V 5 Client’s apps with the App-V 5 Publishing Server.

Add-AppvClientPackage \\ServerName\ShareName\AppFileName.appv

Adds a package to the local App-V 5 Client.

Add-AppvClientPackage \\ServerName\ShareName\AppFileName.appv | Publish-AppvClientPackage -Global

This PowerShell command adds a package then publishes it.

Get-AppvVirtualProcess | select -ExpandProperty AppvPackageData

This command shows which processes are running in the virtual App-V environment.

More PowerShell cmdlets to come for the Publishing Server and other aspects of App-V…

VN:F [1.9.22_1171]
Rating: 8.0/10 (5 votes cast)
App-V 5 PowerShell Commands / PowerShell Cmdlets, 8.0 out of 10 based on 5 ratings

Leave a comment

Your email address will not be published. Required fields are marked *