Vmware-Vsphere

如何使用 powercli 獲取 VM 的 VMware View Agent 版本?

  • April 2, 2016

如何使用 powercli 或 View Powercli 在 VM 上執行 VMware View Agent 版本?

您將使用vdmadmin.exe\Program Files\VMware\VMware View\Server\bin 中連接伺服器上可用的內容。

vdmadmin -d <pool> -getversion

D:\Program Files\VMware\VMware View\Server\bin> vdmadmin -A -d pc10 -getversion
Agent Versions
Pool: pc10 Machine: pc1018 Version: 5.2.0 Install: 5.2.0 build-987719 Build: 17180
Pool: pc10 Machine: pc1010 Version: 5.2.0 Install: 5.2.0 build-987719 Build: 17180
Pool: pc10 Machine: pc1011 Version: 5.2.0 Install: 5.2.0 build-987719 Build: 17180
Pool: pc10 Machine: pc1012 Version: 5.2.0 Install: 5.2.0 build-987719 Build: 17180

在這裡寫了一個小的 Powershell 腳本來使這更容易。

引用自:https://serverfault.com/questions/767441