How to Load the PowerShell Cmdlets and Get Cmdlet Help
Dotyczy: Application Virtualization 5.0, Application Virtualization 5.0 SP1, Application Virtualization 5.0 SP2, Application Virtualization 5.0 SP3
What this topic covers:
Requirements for using PowerShell cmdlets
Loading the PowerShell cmdlets
Getting help for the PowerShell cmdlets
Displaying the help for a PowerShell cmdlet
Requirements for using PowerShell cmdlets
Review the following requirements for using the App-V PowerShell cmdlets:
Requirement | Details | ||||||
---|---|---|---|---|---|---|---|
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 |
|
||||||
Cmdlets that end users can run, unless you configure them to require an elevated command prompt |
To configure these cmdlets to require an elevated command prompt, use one of the following methods:
|
Loading the PowerShell cmdlets
To load the PowerShell cmdlet modules:
Open Windows PowerShell or Windows PowerShell Integrated Scripting Environment (ISE).
Type one of the following commands to load the cmdlets for the module you want:
App-V component | Command to type |
---|---|
App-V Server |
Import-Module AppvServer |
App-V Sequencer |
Import-Module AppvSequencer |
App-V Client |
Import-Module AppvClient |
Getting help for the PowerShell cmdlets
Starting in App-V 5.0 SP3, cmdlet help is available in two formats:
Format | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
As a downloadable module |
To download the latest help after downloading the cmdlet module:
|
||||||||
On TechNet as web pages |
See the App-V node under Microsoft Desktop Optimization Pack Automation with Windows PowerShell. |
Displaying the help for a PowerShell cmdlet
To display help for a specific PowerShell cmdlet:
Open Windows PowerShell or Windows PowerShell Integrated Scripting Environment (ISE).
Type Get-Help <cmdlet>, for example, Get-Help Publish-AppvClientPackage.
Got a suggestion for App-V? Add or vote on suggestions here.
Got an App-V issue? Use the App-V TechNet Forum.
-----
You can learn more about MDOP in the TechNet Library, search for troubleshooting on the TechNet Wiki, or follow us on Facebook or Twitter.
-----