加载 PowerShell Cmdlet 和获取 Cmdlet 帮助
本主题涵盖的内容:
使用 PowerShell cmdlet 的要求
查看以下使用 App-V PowerShell cmdlet 的要求:
要求 | 详细信息 | ||||||
---|---|---|---|---|---|---|---|
仅当你使用以下方法之一授予用户访问权限时,用户才能运行 App-V 服务器 cmdlet: |
|
||||||
需要提升的命令提示符的 Cmdlet |
|
||||||
最终用户可以运行的 Cmdlet,除非将其配置为需要提升的命令提示符 |
若要将这些 cmdlet 配置为需要提升的命令提示符,请使用以下方法之一:
|
加载 PowerShell cmdlet
若要加载 PowerShell cmdlet 模块,请执行以下操作:
(ISE) 打开Windows PowerShell或Windows PowerShell集成脚本环境。
键入以下命令之一,加载所需模块的 cmdlet:
App-V 组件 | 要键入的命令 |
---|---|
App-V 服务器 |
Import-Module AppvServer |
App-V Sequencer |
Import-Module AppvSequencer |
App-V 客户端 |
Import-Module AppvClient |
获取有关 PowerShell cmdlet 的帮助
从 App-V 5.0 SP3 开始,cmdlet 帮助提供两种格式:
格式 | 描述 | ||||||||
---|---|---|---|---|---|---|---|---|---|
作为可下载的模块 |
下载 cmdlet 模块后下载最新帮助:
|
||||||||
在 TechNet 上作为网页 |
使用 Windows PowerShell 查看 Microsoft 桌面优化包自动化下的 App-V 节点。 |
显示 PowerShell cmdlet 的帮助
显示特定 PowerShell cmdlet 的帮助:
(ISE) 打开Windows PowerShell或Windows PowerShell集成脚本环境。
键入 Get-Help<cmdlet>,例如 Get-Help Publish-AppvClientPackage。
收到 App-V 问题? 使用 App-V TechNet 论坛。