esxipasswd 1.0.0 – send me a tweet if you want it: @vinternals
SHA1: 72e6328f80fd9639a416f125c59c8f9886675616 esxipasswd-1.0.0.zip
esxipasswd [target host] [user name] [current password] [new password]
1) Ensure you have the .NET Framework 2.0 or higher installed, and access to a machine with PowerCLI 4.0 (build 162509) or higher installed.
2) Locate the PowerCLI installation directory (default is %PROGRAMFILES%\VMware\Infrastructure\vSphere PowerCLI).
3) Copy the VMware.Vim.dll file from the PowerCLI installation directory into the same directory you want to run esxipasswd.exe from.
NOTE: If you wish to run esxipasswd on a machine that doesn’t have PowerCLI 4 installed, you will need to copy some additional files from the machine with PowerCLI installed into the directory on the remote machine you wish to execute esxipasswd from. You will need to copy them via the command line as Windows Explorer does not display them. The files in question all can be found in subdirectories of %WINDIR%\assembly\GAC_MSIL (the subdirectories have the same name as the files – for example VimService20.dll is in a subdirectory “VimService20”) and are as follows:
I may well just rewrite it against the raw web services so you dont need to do all this!
4) Tell Jin that .NET is the ruler.
5) You’re done.