載入 PowerShell Cmdlet 和取得 Cmdlet 說明
本主題涵蓋的內容:
使用 PowerShell Cmdlet 的需求
檢閱下列使用 App-V PowerShell Cmdlet 的需求:
需求 | 詳細資料 | ||||||
---|---|---|---|---|---|---|---|
只有當您使用下列其中一種方法授與他們存取權時,使用者才能執行 App-V Server Cmdlet: |
|
||||||
需要提升許可權命令提示字元的 Cmdlet |
|
||||||
使用者可以執行的 Cmdlet,除非您將它們設定為需要提升許可權的命令提示字元 |
若要將這些 Cmdlet 設定為需要提升許可權的命令提示字元,請使用下列其中一種方法:
|
載入 PowerShell Cmdlet
若要載入 PowerShell Cmdlet 模組:
開啟 Windows PowerShell 或 Windows PowerShell 整合式腳本環境 (ISE) 。
輸入下列其中一個命令,以載入您想要之模組的 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 上作為網頁 |
請參閱 Microsoft傳統型優化套件自動化下的 App-V 節點與Windows PowerShell。 |
顯示 PowerShell Cmdlet 的說明
顯示特定 PowerShell Cmdlet 的說明:
開啟 Windows PowerShell 或 Windows PowerShell 整合式腳本環境 (ISE) 。
輸入Get-Help<Cmdlet> ,例如Get-Help Publish-AppvClientPackage。
有 App-V 問題嗎? 使用 App-V TechNet 論壇。