How can I get the VMware View Agent version running on a VM with powercli or View Powercli?
Afaik there is no PowerCLI cmdlet for that, but you can use the Invoke-VMScript cmdlet and query the Win32_Product class.
By running the following. You can add a Where-clause to only return the View Agent
Get-WmiObject -Class Win32_Product | Select Name,Version
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Afaik there is no PowerCLI cmdlet for that, but you can use the Invoke-VMScript cmdlet and query the Win32_Product class.
By running the following. You can add a Where-clause to only return the View Agent
Get-WmiObject -Class Win32_Product | Select Name,Version
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Wow does that stink. Is that how the Horizon console grabs it too? So weird they didn't include that!
No, I don't think the View Admin console retrieves it that way.
The admin console communicates with the agent, and it's through that communication it gets the version.
But afaik, that is not a public API.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference