Linux Windows命令执行 [英] Linux Windows command Execution
问题描述
我想从Linux执行windows命令。
我知道使用winexe我们可以这样做,但我不知道winexe如何与windows机器通信,所以任何人都可以提供一些有关这方面的信息将有用
是否有适用于Linux的winRM客户端(相当于winrs)或者我们是否可以为winRM客户端编写java代码
如果还有其他方法,请让我知道
谢谢
Hello thunderblue
感谢您与Microsoft支持部门联系。您当然可以实现winrs\winrm的客户端,我们要求您提及我的团队支持的以下规范 -
MS-WSMV(https:// msdn。 microsoft.com/en-us/library/cc251526.aspx)
MS-PSRP(https://msdn.microsoft.com/en-us/library/dd357801.aspx)
MS-WSMV(https://msdn.microsoft.com/en-us/library/cc251395.aspx)
如果您有任何疑问根据这些规范,请随时通过此论坛或dochelp在microsoft dot com与我们联系。
关于'任何现有的winrm客户端的Linux' - 以下technet文章引用了更多信息中的一些实现部分 - http://blogs.technet.com/b/otto/archive/2007/02/09/sample-vista-ws-man-winrm-commands.aspx但我们不确定如何更新
这些实现是。
问候
Hi,
I want to execute windows command from Linux.
I know using winexe we can do so, but i have no idea how winexe communicate with windows machine, So can anyone provide some info regarding this will be helpful
Is there any winRM client(winrs equivalent) for Linux or can we write a java code for winRM client
If there is any other method, please let me know
Thank You
Hello thunderblue
Thank you for contacting Microsoft Support. You can certainly implement client side of winrs\winrm and we request you to kindly refer following specifications supported by my team -
MS-WSMV (https://msdn.microsoft.com/en-us/library/cc251526.aspx)
MS-PSRP (https://msdn.microsoft.com/en-us/library/dd357801.aspx)
MS-WSMV (https://msdn.microsoft.com/en-us/library/cc251395.aspx)
If you have any queries on these specifications, please feel free to reach us through this forum or dochelp at microsoft dot com.
Regarding 'any existing winrm client for linux' - Following technet article refers few implementations in More Info section - http://blogs.technet.com/b/otto/archive/2007/02/09/sample-vista-ws-man-winrm-commands.aspx but we are not sure how up to date these implementations are.
Regards
这篇关于Linux Windows命令执行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!