且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Linux Windows命令执行

更新时间:2023-12-03 23:32:34

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