I am working on a project to use Powershell, Putty and Plink (which are new to me), and CyberPower PowerPanel Business edition that would enable a local PC to monitor the CyberPower UPS battery level and to shutdown the Sophos Home UTM 9.407-3 when the UPS battery level reaches a critical threshold.
The only thing I'm not sure of is whether the Putty command to shutdown the UTM is correct, and that requires knowledge of Putty, Plink, and the Sophos UTM command line syntax.
The Powershell command is "plink.exe -ssh -batch loginuser@192.168.xxx.xxx -pw xxxxxxxx /sbin/shutdown -h now", where xx's are the specific IP address of the UTM and the loginuser password.
Can anyone tell me if this is correct? If not, what would be the correct command?
Thank you
This thread was automatically locked due to age.