0.- Start n8n in Server1
1.- Create node “Run execution” scriptLinux —>ok
2.- Create node “?” remote Server2 execution script Windows —>???
Server1:Linux/n8n/scriptLinux
Server2:Windows/scriptWindows
Many thanks
0.- Start n8n in Server1
1.- Create node “Run execution” scriptLinux —>ok
2.- Create node “?” remote Server2 execution script Windows —>???
Server1:Linux/n8n/scriptLinux
Server2:Windows/scriptWindows
Many thanks
Welcome to the community @rccclr!
Yes was thinking about something similar from the beginning.
To have some kind of program which would allow machines to connect to n8n and then act as a kind of worker. They could communicate via Websocket and would allow n8n to execute workflows or random commands on those machines. Sadly however was it not a priority yet so had no time to think about a proper architecture or work on the implementation yet.
Hey @rccclr
I believe what you are looking to do is remotely manage windows devices from n8n! Neat idea!
Remote windows management is handled by a framework called Windows Management Instrumentation (or WMI) and has been around for quite some time. It is very easy to use, extensible, and very well documented.
Unfortunately, the bridge between NodeJS and WMI (node-wmi) does not look like it has been updated in years and only implements the Query option of WMI.
I like @jan’s idea of having a helper app on the windows system (maybe a mini-webhook only, no GUI version of n8n) to receive the command and execute the script.
Thanks for your information.
I pending testing this: GitHub - diyan/pywinrm: Python library for Windows Remote Management (WinRM)
I think a version for node: GitHub - shoneslab/nodejs-winrm: Make WinRM service calls from NodeJS
Congratulations for your product!!
I have similar use case (Converting Email, Excel etc to PDF using MS Office - tried all free linux based version - nothing works better than MS Office Save to PDF for formatting), what I have done is relatively simple, take n8n as is, and just make a webhook where I have a C#.net Console App (with Excel Interop) that just loop (every 3s) and access the n8n http request to get an item to be converted to PDF, and once done post back the result to n8n.
in short:
in this case I am using n8n as a kind of message bus