New
#1
How-to call a VBS in Win7 Pro to Telnet a shutdown to a NAS
Greetings (1st Post),
I have a Win7 Pro PC and a NAS Unix box both powered on a single APC UPS. The Win7 PC has a USB connected to a data port on the APC UPS so when there is a power hit and the settings with the APC s/w are meet, the Win7 Pro PC will start shutdown procedures before batteries expire!
My goal is to initiate a "shutdown.vbs" script (which I have put together and tested) that will telnet to my NAS box which is Linux and perform a shutdown routine on the NAS. The NAS is also plugged into the same APC UPS but there is no s/w are connectivity between the NAS and UPS directly other than the power cable.
Anyone know how I could get Win7 Pro to activate the "shutdown.vbs" just prior to it starting it's own showdown processes? I've looked through the Computer Mgmt area but didn't come across anything that stood out.
Thank You