VMware Cloud Community
tpoulter
Enthusiast
Enthusiast

UPS Shutdown Script

So I am trying to setup a shutdown script (.bat file) for my UPS to automatically shutdown the VMs and ESXI/Vsphere when the battery is low before it completes dies

I have enabled putty with ssh and public/private key for login which works but every time the script runs it prompts to press enter after the login so the script wont run until the press enter is done

Is there something I am missing

The script is essentially this

c:\putty\plink.exe ESXI  "/sbin/shutdown.sh && /sbin/poweroff"

0 Kudos
0 Replies