Could not find any info on VMwareToolboxCmd, but found a way to retrieve appInfo via powercli
Connect-VIServer -Server vcsa -User "administrator@vsphere.local" -Password "*******"
$vms = Get-VM | Where-Object {$_.powerstate -eq 'PoweredOn'}
foreach ($VM in $vms) {
$appInfoValue = (Get-AdvancedSetting -Entity $VM -Name "guestinfo.appInfo").Value
if($appInfoValue -eq $null) {
Write-Host -ForegroundColor White $VM "Application Discovery is Disabled for this VM"
} else {
Write-host -ForegroundColor Yellow $VM "Application Discovery is Enabled this VM"
}
}