在另一个Windows服务器上通过batch file在远程Windows服务器上执行batch file

我正试图从我的Windows服务器调用放置在远程Windows服务器上的batch file。 我在远程服务器上安装了freeSSHd。 我尝试使用腻子/ plink,但没有结果。

我正在使用的命令的语法是:

Putty: start E:\putty.exe -ssh user12@serverIP -pw "abcd12" call sample.bat

Plink: start E:\plink.exe -ssh user12@serverIP -pw "abcd12" cmd.exe -m E://sample.txt

我甚至尝试了上述两个命令的所有变种,如“-m file.txt”等我也可以通过login到腻子控制台执行batch file,而不是通过调用我的Windows服务器上的batch file。

这是如何在Windows中启动远程程序。

 wmic /node:servername process call create "cmd.exe c:\\somefolder\\batch.bat" 

以这种方式执行的文件在远程计算机上是不可见的。

求助

 wmic /? wmic process /? wmic process get /? wmic process set /? wmic process call /? wmic process call create /? wmic process /node /? wmic process /user /? wmic process /password /?