Shutdown remotely via a windows batch script
Hi,
I want to be able to shutdown the ZS5 from windows server script.
I know how to ssh and shutdown via CLI (maintenance system poweroff) however according to some web searches, this command appears to ask to confirm the power off with a Y/N. https://docs.oracle.com/cd/E37831_01/html/E52872/godko.html
I am using putty's "plink.exe" to ssh to the CLI from windows server
Does anyone know how to always confirm?
Current script looks like this:
plink.exe -batch -ssh -pw <mypasswd> <user>@<zs5> maintenance system poweroff