Part 14-App-V PowerShell

在安裝完相關的App-V元件後,如果要使用App-V相關的PowerShell,必須先匯入相關的元件,以下表格是三個App-V元件的匯入指令,另外在匯入前請輸入以下指令變更Execution Policy的設定















Set-ExecutionPolicy -ExecutionPolicy RemoteSigned






























App-V component


Command to type


App-V Server


Import-Module AppvServer


App-V Sequencer


Import-Module AppvSequencer


App-V Client


Import-Module AppvClient






下面表格將三個App-V元件下的指令整理出來,Client的指令額外分類整理出來,透過PowerShell指令可以更了解App-V的運作方式




App-V Server和App-V Sequencer

















AppvServer


AppvSequencer


Add-AppvServerConnectionGroupPackage

Get-AppvServerConnectionGroup

Get-AppvServerPackage

Get-AppvServerPackageDeploymentConfiguration

Get-AppvServerPackageUserConfiguration

Grant-AppvServerConnectionGroup

Grant-AppvServerPackage

Import-AppvServerPackage

New-AppvServerConnectionGroup

Publish-AppvServerConnectionGroup

Publish-AppvServerPackage

Remove-AppvServerConnectionGroup

Remove-AppvServerConnectionGroupPackage

Remove-AppvServerPackage

Set-AppvServerConnectionGroup

Set-AppvServerConnectionGroupPackage

Set-AppvServerPackage

Unpublish-AppvServerConnectionGroup

Unpublish-AppvServerPackage

Update-AppvServerConnectionGroup


Expand-AppvSequencerPackage

New-AppvSequencerPackage

Update-AppvSequencerPackage

New-AppvPackageAccelerator






App-V Client























AppvSettings


AppvClientConnectionGroup


AppvClientPackage


AppvPublishingServer


Get-AppvVirtualProcess

Start-AppvVirtualProcess




Get-AppvClientApplication




Get-AppvClientConfiguration

Set-AppvClientConfiguration




Get-AppvClientMode

Set-AppvClientMode




Send-AppvClientReport


Get-AppvClientConnectionGroup

Add-AppvClientConnectionGroup

Enable-AppvClientConnectionGroup




Disable-AppvClientConnectionGroup

Remove-AppvClientConnectionGroup

Stop-AppvClientConnectionGroup




Mount-AppvClientConnectionGroup

Repair-AppvClientConnectionGroup


Get-AppvClientPackage

Add-AppvClientPackage

Set-AppvClientPackage

Publish-AppvClientPackage




Unpublish-AppvClientPackage

Remove-AppvClientPackage

Stop-AppvClientPackage




Mount-AppvClientPackage

Repair-AppvClientPackage


Get-AppvPublishingServer

Add-AppvPublishingServer

Set-AppvPublishingServer




Remove-AppvPublishingServer




Sync-AppvPublishingServer






參考資料:


How to Load the PowerShell Cmdlets and Get Cmdlet Help

留言

這個網誌中的熱門文章

Server 2012-遠端登入時發生驗證錯誤,無法聯絡到本機安全性授權單位

Windows Server 2012 R2 佈署RemoteApp(上)