How to get the VMware view agent version of VMs with powercli

powerclivdivmware-vcentervmware-vsphere

How can I get the VMware View Agent version running on a VM with powercli or View Powercli?

Best Answer

You would use vdmadmin.exe which is available on your connection server in \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

Wrote a small Powershell script to make this easier here.