Pull vcenter host memory information via vmware advanced search?

I'm replacing a bunch of powershell using the advanced search operation which is proving great for improving flow performance against vcenter.

I'm trying to replace an operation that pulls the host available memory and memory usage but for the life of me I can't find them in the MOB so I can't figure how to pull them using advanced search.

In the powershell world I would pull them like this.

$vmhost = $vm | Get-VMHost -Server $Server

$vmhost.MemoryTotalMB

$vmhost.MemoryUsageMB

 

Anyone else done this or know what I should be looking for? It kind of looks like this information is a data object type which I don't think I can do anything with using advanced search.

Tags: