ssh – how to log into a machine with Putty and send specific commands

Im trying to automate some work to save some time. I need to use Putty to SSH into a machine and come up with a scripts that send commands. In this situation I need to send the “battery” and hit enter. I originally thought of a .bat file that has “start C:Putty.exe user@IP -pw password -m script.txt” this logs into the machine and opens the shell but my script.txt doesn’t send the command battery. I’m not sure what that scrypt.txt needs to make it work?

Any thoughts on how I can make this work?