If you install the VMware RCLI under Windows and are getting libxml2-related errors, log out and log back in so the environment variable changes from the install take effect.
I was getting errors similar to:
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.
with corresponding dialog boxes about libxml2.dll.
Related posts:
- Static IPs with the VMware RCLI Virtual Appliance
- VMware VirtualCenter 2 and Windows Vista
- Browser Errors? Ditch the Toolbars
- Windows 7 Beta and VI Client
- Changing VMware vCenter Logging on Windows Server 2008

{ 1 comment… read it below or add one }
Call me lazy or impatient, but I found the following works.
CD to C:\Program Files\VMware\VMware vSphere CLI\Perl\bin
then run the commands like this:
..\..\bin\vmware-cmd.pl -option -option -option, etc
Because your launching from the Perl\bin command, all the DLLs are now available.
.. just means go up 1 folder level.
so ..\..\bin takes you from CLI\Perl\bin to CLI\bin
{ 1 trackback }