Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

How to Use the PowerShell Cmdlets

Updated: November 1, 2012

Applies To: Application Virtualization 5.0

The following information provides App-V 5.0 cmdlet examples and information about installing the App-V 5.0 PowerShell cmdlets.

App-V 5.0 cmdlet examples:

noteNote
To display the help for all of the PowerShell cmdlets available with App-V 5.0 type Get-Help, for example Get-Help publish-appvclientpackage.

 

Command Explanation

import-module appvclient

Installs the App-V 5.0 client cmdlets.

get-command -module appvclient

Displays the available cmdlets.

Get-AppvVirtualProcess

Returns a list of the virtual processes running on a specific computer.

Add-AppvPublishingServer -Name samplepub -URL https://contosopubserver/

Adds a publishing server to the App-V 5.0 client

Sync-AppvPublishingServer -Name samplepub

Synchronizes the publishing server named samplepub on the client

Add-AppvClientPackage \\server\share\sample.appv

Adds a package to the App-V 5.0 client

Publish-AppvClientPackage -packageid <guid 1> -versionid <guid 2>

Publishes a package to the current user

Add-AppvClientPackage \\server\share\sample.appv | Publish-AppvClientPackage -Global

Globally adds and publishes a package.

Get-AppvVirtualProcess | select -ExpandProperty AppvPackageData

Shows which processes are running virtual and the associated virtual environment.

To use the PowerShell cmdlets

  1. Read and understand the previous information.

  2. Determine the tasks you want to perform using PowerShell. For more information about common App-V 5.0 PowerShell tasks, see Administering App-V using PowerShell.

See Also

Other Resources

Operations for App-V 5.0

-----
You can learn more about MDOP in the TechNet Library, search for troubleshooting on the TechNet Wiki, or follow us on Facebook or Twitter.
-----
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.