PowerCLI

 View Only
  • 1.  How can I get the VMware view agent version of VMs with powercli?

    Posted Mar 31, 2016 11:07 PM

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



  • 2.  RE: How can I get the VMware view agent version of VMs with powercli?
    Best Answer

    Posted Apr 01, 2016 12:02 AM

    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



  • 3.  RE: How can I get the VMware view agent version of VMs with powercli?

    Posted Apr 01, 2016 01:24 PM

    Wow does that stink. Is that how the Horizon console grabs it too? So weird they didn't include that!



  • 4.  RE: How can I get the VMware view agent version of VMs with powercli?

    Posted Apr 01, 2016 01:54 PM

    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.