Export (0) Print
Expand All

Administering App-V by Using PowerShell

Updated: December 8, 2014

Applies To: Application Virtualization 5.0, Application Virtualization 5.0 SP1, Application Virtualization 5.0 SP2, Application Virtualization 5.0 SP3

Microsoft Application Virtualization (App-V) 5.0 provides Windows PowerShell cmdlets, which can help administrators perform various App-V 5.0 tasks. The following sections provide more information about using PowerShell with App-V 5.0.

How to administer App-V 5.0 by using PowerShell

Use the following PowerShell procedures to perform various App-V 5.0 tasks.

 

Name Description

How to Load the PowerShell Cmdlets and Get Cmdlet Help

Describes how to install the PowerShell cmdlets and find cmdlet help and examples.

How to Manage App-V 5.0 Packages Running on a Stand-Alone Computer by Using PowerShell

Describes how to manage the client package lifecycle on a stand-alone computer using PowerShell.

How to Manage Connection Groups on a Stand-alone Computer by Using PowerShell

Describes how to manage connection groups using PowerShell.

How to Modify Client Configuration by Using PowerShell

Describes how to modify the client using PowerShell.

How to Apply the User Configuration File by Using PowerShell

Describes how to apply a user configuration file using PowerShell.

How to Apply the Deployment Configuration File by Using PowerShell

Describes how to apply a deployment configuration file using PowerShell.

How to Sequence a Package by Using PowerShell

Describes how to create a new package using PowerShell.

How to Create a Package Accelerator by Using PowerShell

Describes how to create a package accelerator using PowerShell. You can use package accelerators automatically sequence large, complex applications.

How to Enable Reporting on the App-V 5.0 Client by Using PowerShell

Describes how to enable the computer running the App-V 5.0 to send reporting information.

How to Install the App-V Databases and Convert the Associated Security Identifiers by Using PowerShell

Describes how to take an array of account names and to convert each of them to the corresponding SID in standard and hexadecimal formats.

PowerShell Error Handling

Use the following table for information about App-V 5.0 PowerShell error handling.

 

Event Action

Using the RollbackOnError attribute with embedded scripts

When you use the RollbackOnError attribute with embedded scripts, the attribute is ignored for the following events:

  • Removing a package

  • Unpublishing a package

  • Terminating a virtual environment

  • Terminating a process

Package name contains $

If a package name contains the character ( $ ), you must use a single-quote ( ), for example,

Add-AppvClientPackage ‘Contoso$App.appv’

Got a suggestion for App-V?

Add or vote on suggestions here. For App-V issues, use the App-V TechNet Forum.

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.
-----
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft