Trigger perl scripts remotely on windows [closed]

落花浮王杯 提交于 2019-12-11 11:26:46

问题


I have two machines A and B. Machine B has perl installed and scripts are placed in a shared directory. Machine A doesn't have perl installed (I don't want to install perl on this machine). There is some automation running in Machine A and that automation wants to trigger perl scripts in Machine B by passing some parameters.

Is this possible? What is recommended?

Thanks


回答1:


There's probably more possibilites, but from the top of my head:

  • Mark Russinovich's psexec (notes@ss64.com)
  • the Windows Management Instrumentation Commandline tool wmic (notes@ss64.com)

As long as the machine on which the perl scripts are to be executed has perl installed, it's not a problem if the caller machine doesn't.



来源:https://stackoverflow.com/questions/29645053/trigger-perl-scripts-remotely-on-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!