Hi,
To execute command line from Windows (11) to my NAS(s) including FS6706T (in your case to send command halt or poweroff or start a shell to gracefully disconnect user before halt) ...
I used
plink provide with putty a SSH client for Windows. (ex; from :
https://www.chiark.greenend.org.uk/~sgt ... atest.html )
Advantage is to test easily with putty in terminal mode
possibility to used user/password (even putting password in command line is not the best ... but work.
possibility to used public/private key (without paraphrase) to don't need to write password on command line.
some simple example here :
https://serverfault.com/questions/81916 ... with-putty BUT lot of other site explain how to do it.
plink can be scheduled as any command in Windows or launch manually or from a BATCH or Powershell script.
if you have WSL2 (Ubuntu in Windows) and a ssh client, you can get other solution ... started directly from command line prompt or powershell ... etc. etc.
Philippe.
EDIT ... some info can be outdated ... if you get last putty ... take attention and use help