You can get it with powercli
get-vm -name "<vm-name>" | get-view
It is the MoRef value minus the VirtualMachine.
Eg VirtualMachine-vm-509
In a browser, just point to https://<ESXIP>/mob/?moid=ha-folder-vm
The MobIDs will be listed as childEntity against the resp VMS.