Goal: Use Putty to connect and send commands to a menu
set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "c:\putty\putty.exe 10.100.51.10 -l admin -pw password"
WScript.Sleep 2000
WshShell.AppActivate "10.100.51.10 - PuTTY"
WScript.Sleep 1000
WshShell.SendKeys "utils system shutdown{ENTER}"
WScript.Sleep 1000
WshShell.SendKeys "yes{ENTER}"