wllp try using this in the scripting section..
varvmProperties=machine.get("properties");
foreach(varkey invmProperties.keys){
System.log("Key: "+key+" Value: "+vmProperties.get(key));
}
That should give you all of the variables. Then you can set things like this..
System.log(vmProperties.get("VirtualMachine.Network0.Address"));
This will give you Nic 0 IP for example...
I found the "vmProperties" scripting above on this website : https://thevirtualist.org/vra-event-broker-pass-basic-custom-properties-vro/
Hope this is of help to you or someone else
Jono