PuTTY can be made to do various things without user intervention by supplying command-line arguments (e.g., from a command prompt window, or a Windows shortcut).
-cleanup-load: load a saved session-ssh, -telnet, -rlogin, -raw -serial-v: increase verbosity-l: specify a login name-L, -R and -D: set up port forwardings-m: read a remote command or script from a file-P: specify a port number-pw: specify a password-agent and -noagent: control use of Pageant for authentication-A and -a: control agent forwarding-X and -x: control X11 forwarding-t and -T: control pseudo-terminal allocation-N: suppress starting a shell or command-nc: make a remote network connection in place of a remote shell or command-C: enable compression-1 and -2: specify an SSH protocol version-4 and -6: specify an Internet protocol version-i: specify an SSH private key-loghost: specify a logical host name-hostkey: manually specify an expected host key-pgpfp: display PGP key fingerprints-sercfg: specify serial port configuration-sessionlog, -sshlog, -sshrawlog: specify session logging-proxycmd: specify a local proxy command-restrict-acl: restrict the Windows process ACL