How to install the Server Application Virtualization PowerShell Cmdlets
Applies To: System Center 2012 SP1 - Virtual Machine Manager, System Center 2012 R2 Virtual Machine Manager, System Center 2012 - Virtual Machine Manager
After you install PowerShell, you can also use the Get-Help command in a PowerShell console for more information about these functions.
To install the Server App-V PowerShell Cmdlets
Copy the Server App-V PowerShell Cmdlet installation file (AgentCmdletsSetup.exe for the Server App-V Agent functions or SequencerCmdletsSetup.exe for the Server App-V Sequencer functions.) to the computer that is running Windows Server that you want to install it on. Use the correct version of the installer based on your computer’s architecture, x86 or x64.
To start the Server App-V PowerShell Cmdlet installation wizard, double-click sav_cmdlets.exe or SequencerCmdletsSetup.exe.
On the License page, to accept the terms of the license agreement, select I accept the license terms. To start the installation, click Next.
To complete the installation and close the setup wizard, click Finish.
To use the Server App-V PowerShell Cmdlets open an elevated PowerShell cmd prompt and import the modules by running the following commands:
PS C:\> Set-ExecutionPolicy Remotesigned
PS C:\> Import-Module ServerAppVAgent
You must run the Import-Module ServerAppVAgent command every time that you open a new PowerShell command prompt.