Funny you should ask that, just last weekend, I was playing with this.
Although I believe that the Related Objects in the Web Client are hard-coded, I wanted a script that would show me all the objects for which a specific object had pointers (MoRefs).
I came up with something like this (draft, not optimised) for VMHosts.
foreach($esx in Get-View -ViewType HostSystem){
$esx.PSObject.Properties |
where{($_.TypeNameOfValue -eq 'VMware.Vim.ManagedObjectReference' -or
$_.TypeNameOfValue -eq 'VMware.Vim.ManagedObjectReference[]') -and $_.Value} | %{
Get-View -Id $_.Value -Property Name -ErrorAction SilentlyContinue |
where{$_.Name} |
Select @{N='VMHost';E={$esx.Name}},Name,@{N='Type';E={$_.GetType().Name}}
}
}