THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.

Revision history  [back]

plink can read in a command file:

  -m file   read remote command(s) from file

https://www.thegeekstuff.com/2017/05/putty-plink-examples/
4. Execute Multiple Linux Commands from a Windows File

Warning that it may not work with some devices:
https://www.ssh.com/ssh/putty/putty-manuals/0.68/Chapter3.html#using-general-opts

With some servers (particularly Unix systems), you can even put multiple lines in this file and execute more than one command in sequence, or a whole shell script; but this is arguably an abuse, and cannot be expected to work on all servers. In particular, it is known not to work with certain ‘embedded’ servers, such as Cisco routers.