After installing the VMWare Remote CLI on a VC-Server I was always getting the following error:
Can’t load ‚C:/Program Files/VMware/VMware VI Remote CLI/Perl/site/lib/auto/XML/LibXML/Common/Common.dll‘ for module XML::LibXML::Common: load_file:The specified module could not be found at C:/Program Files/VMware/VMware VI Remote CLI/Perl/lib/DynaLoader.pm line 230.
But all the files were there. Strange….
Thanks to Bob Plankers the solution was really simple: Just logout and log in again to update the environment variables.