Automation

 View Only
  • 1.  Accessing appinfo from the v11 vmware tools

    Posted Sep 28, 2019 02:39 PM

    Is it possible to access the appinfo data from the new v11 tools using powercli?

    For those unaware of the new appinfo plugin

    https://docs.vmware.com/en/VMware-Tools/11.0.0/com.vmware.vsphere.vmwaretools.doc/GUID-0BD592B1-A300-4C09-808A-BB447FAE2C2A.html

    appInfo - Collects the information about running applications inside the guest and publishes the information to a guest variable.



  • 2.  RE: Accessing appinfo from the v11 vmware tools
    Best Answer

    Posted Sep 28, 2019 06:45 PM

    Yes, like this

    $vmName = 'MyVM'

    $vm = Get-VM -Name $vmName

    $vm.ExtensionData.Config.ExtraConfig | where{$_.Key -match "guestinfo.appInfo"} |

    Select -ExpandProperty Value

    ---------------------------------------------------------------------------------------------------------

    Was it helpful? Let us know by completing this short survey here.