-pw: specify a password
Note that the -pw option only works when you are using the SSH protocol. Due to fundamental limitations of Telnet and Rlogin, these protocols do not support automated password authentication.
https://documentation.help/PuTTY/using-cmdline-pw.html#S3.8.3.8