How do I get moref of a VM by querying the machine locally?
We're using Bigfix which has a client running on our VMs. I'm trying to match up records in Bigfix with the actual VM. I could just match them based on servername but the names are duplicated due to Disaster recovery sites. The Bigfix client can gather inventory from registry, files, services, environment variables. So is there a way to get the moref from the registry of a file or some local method on the VMs? I know we can use powercli to get moref by querying the Vcenters but I need this command to run by Bigfix client on the VMs themselves to match up the IDs.