Hi William,
I found a script written by yourself: ghettoShutdown.pl which does exactly what I'm looking for. Thanks for publishing it!!
Just for me to understand a bit better: VMware's hostops.pl uses a command target_host->ShutdownHost(force => 0); and your script uses (force => 1);
Does that make the difference I was initially looking for?
Thanks, Markus