VMware Cloud Community
pizzim13
Contributor
Contributor
Jump to solution

Accessing appinfo from the v11 vmware tools

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...

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

1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

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.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

1 Reply
LucD
Leadership
Leadership
Jump to solution

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.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference