Where do you intend to store the separation information, i.e. the VM couples, and eventually on which ESXi node each should run?
You can do that in an external file, or as data in the script. Any preferences?
You would also need to think about the format/layout to define those separation rules.
And a minor question, is there any reason why you would still be using PowerCLI 6.0?