ESXi 4.1: setting license via command line

Setting the license at the command line is done with the following command:
[cc lang=”bash”]
vim-cmd vimsvc/license
[/cc]

If you run it you’ll see that one of the options is to –set=string.
But if you run it like this:
[cc lang=”bash”]
vim-cmd vimsvc/license –set=XXXXX-XXXXX-XXXXX-XXXXX-XXX11
[/cc]
You will get an error.

The right way to do it is:
[cc lang=”bash”]
vim-cmd vimsvc/license –set XXXXX-XXXXX-XXXXX-XXXXX-XXX11
[/cc]
Notice there is no ‘=’. I would ask that someone please update the help message here.

You can run it again with the –show option and you’ll see your license has been accepted :-)