Ok. I'll just do it like that then. Since the esxi-direct-connect Returns 20 anyways, it probably doens't matter if "vm-" is in front or not.
I can't really tell if your answers are correct. It's really hard to tell from the few test cases I have. I can't really test if they are correct. So I clicked the "helpful answer" button a few times. I hope that's ok.