Instead of attempting to deduce what path to use based on trial and error, probe vCenter to obtain the current version, then massage the path (if necessary) accordingly. Set the 'default' behaviour to that of the most recent version to avoid having to constantly update to keep up with new vmware versions... then you only have to update when the newest version starts to behave differently.
Instead of attempting to deduce what path to use based on trial and error, probe vCenter to obtain the current version, then massage the path (if necessary) accordingly. Set the 'default' behaviour to that of the most recent version to avoid having to constantly update to keep up with new vmware versions... then you only have to update when the newest version starts to behave differently.