Thanks for your answer the APCUPSD Command is KILLDELAY which allow you to program when UPS will cut down power…
It is like a timer. I am not sure which seral command it is, but I am certain that I saw on some internet recourse full list of HyperTerminal commands for APC UPS control over RS232 (or emulation USB).
I understand. I think there is no SSH interface for the UPS (or most UPS that use USB), from the other side I know that at least for APC UPS there is comand that can be sent over USB (comm emulation) interface. I tested this with APCUPSD and it works fine.
Since your tool is aiming to work with ESXI which is always at least semi-professional scenario I think that impossibility to switch on after power is restored is serious shortcoming of your solution. Dont you think?