Server Application Virtualization Cmdlets
Updated: May 13, 2016
Applies To: System Center 2012 SP1 - Virtual Machine Manager, System Center 2012 R2 Virtual Machine Manager, System Center 2012 - Virtual Machine Manager
Server Application Virtualization Agent Cmdlets
You can install these cmdlets on any computer and manage the Server App-V Agent remotely. You do not need to install the cmdlets on the computer running the Server App-V Agent because Server App-V uses Windows Management Instrumentation (WMI) remoting.
Managing applications remotely using the Server App-V PowerShell cmdlets is suggested for the following scenarios:
The remote server is running the Server App-V agent and is connected to the domain.
When you are using an account that is a member of the domain.
The domain account is a member of the local administrators group on the server you are deploying the application to. However, in a standalone environment, it's not possible to provision a Server App-V application using a cmdlet to a remote server.
For Workgroup scenarios, customers should run the cmdlet locally on the server to which you are deploying the application. Domain joined computers will not be impacted by this issue.
Note
You may need to open the firewall on the computer running the Server App-V Agent to allow WMI remoting.
The following list displays the function names and a brief description of the functions that are currently available for use with Server App-V Agent:
Add-ServerAppvPackage
Adds a new virtual application package to a computer running the Server App-V Agent, or upgrades an existing virtual application package on a computer running the Server App-V Agent.
Backup-ServerAppvPackageState
Backs up the runtime state associated with an existing virtual application package to a specified location.
Get-ServerAppvAgent
Returns information about the Server App-V Agent.
Get-ServerAppvPackage
Queries for and retrieves information about a virtual application package that has been deployed to a specified computer running the Server App-V Agent.
Remove-ServerAppvPackage
Deletes a deployed virtual application package from a specified computer running the Server App-V Agent.
Remove-ServerAppvPackageState
Removes all runtime state associated with a virtual application package and returns the virtual application package to the initial state.
Restore-ServerAppvPackageState
Restores the runtime state associated with a virtual application package using a backup.
Set-ServerAppvPackageConfiguration
Configures an existing virtual application package using the deployment configuration document provided.
Start-ServerAppvPackage
Starts a virtual application package and all associated subsystems.
Stop-ServerAppvPackage
Stops a virtual application package and all associated subsystems.
Server Application Virtualization Sequencer Cmdlets
To use the Sequencer cmdlets to create packages, you must install the cmdlets and PowerShell 2.0 on the computer running the Sequencer. PowerShell 2.0 remote functionality is supported, so you can use these cmdlets from any computer running PowerShell 2.0.
The following list displays the function names and a brief description of the functions that are currently available for use with Server App-V Sequencer:
New-ServerAppVSequencerPackage
Creates a new virtual application package.
Protect-UpdateConfiguration
Encrypts the private values in the deployment configuration document.
Unprotect-UpdateConfiguration
Decrypts the encrypted sections of a deployment configuration document.
Update-ServerAppVSequencerPackage
Updates an existing virtual application package.
See Also