Table of contents
TOC
目次を折りたたむ
目次を展開する

How to Load the Windows PowerShell Cmdlets for App-V and Get Cmdlet Help

Maggie Evans|最終更新日: 2016/08/19
|
1 投稿者

Applies to: Windows 10, version 1607

What this topic covers:

Requirements for using Windows PowerShell cmdlets

Review the following requirements for using the Windows PowerShell cmdlets:

RequirementDetails

Users can run App-V Server cmdlets only if you grant them access by using one of the following methods:

Cmdlets that require an elevated command prompt

  • Add-AppvClientPackage

  • Remove-AppvClientPackage

  • Set-AppvClientConfiguration

  • Add-AppvClientConnectionGroup

  • Remove-AppvClientConnectionGroup

  • Add-AppvPublishingServer

  • Remove-AppvPublishingServer

  • Send-AppvClientReport

  • Set-AppvClientMode

  • Set-AppvClientPackage

  • Set-AppvPublishingServer

Cmdlets that end users can run, unless you configure them to require an elevated command prompt

  • Publish-AppvClientPackage

  • Unpublish-AppvClientPackage

To configure these cmdlets to require an elevated command prompt, use one of the following methods:

Loading the Windows PowerShell cmdlets

To load the Windows PowerShell cmdlet modules:

  1. Open Windows PowerShell or Windows PowerShell Integrated Scripting Environment (ISE).

  2. Type one of the following commands to load the cmdlets for the module you want:

App-V componentCommand to type

App-V Server

Import-Module AppvServer

App-V Sequencer

Import-Module AppvSequencer

App-V Client

Import-Module AppvClient

Getting help for the Windows PowerShell cmdlets

Starting in App-V 5.0 SP3, cmdlet help is available in two formats:

  • As a downloadable module: To download the latest help after downloading the cmdlet module, open Windows PowerShell or Windows PowerShell Integrated Scripting Environment (ISE), and type one of the following commands:
App-V componentCommand to type

App-V Server

Update-Help -Module AppvServer

App-V Sequencer

Update-Help -Module AppvSequencer

App-V Client

Update-Help -Module AppvClient


Displaying the help for a Windows PowerShell cmdlet

To display help for a specific Windows PowerShell cmdlet:

  1. Open Windows PowerShell or Windows PowerShell Integrated Scripting Environment (ISE).

  2. Type Get-Help <cmdlet>, for example, Get-Help Publish-AppvClientPackage.

Have a suggestion for App-V?

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

© 2017 Microsoft