In current versions (7) of RouterOs, putty scripts (in command line) do not work correctly, using -m or using plink.
It connects, but the script does not run. (appear some lines in blank)
In version 6 it works correctly.
Has anyone encountered the same problem?
I’m not in a great position to help you with the initial problem, but were you aware that Microsoft has been distributing a version of OpenSSH for all supported versions of Windows for over a year now? Details.
If you can replicate the symptom with that, you’ll get a lot more traction on fixes.