Hello Nicola,
Effectively, I tried the “—powerOn”option with no luck too. The only way that I have found to run it successfully has been a direct call to the ESXi command vim-cmd via ssh.
In Windows:
c:>plink -ssh -pw password -2 user@your_server vim-cmd vmsvc/power.on your_machine_id
In Linux:
#ssh user@your_server vim-cmd vmsvc/power.on your_machine_id
Best regards.