Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

UPS Shutdown Script

$
0
0

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"


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>