Can anyone please share the process or code sample to connect from StackStorm linux server to windows servers?
⚠️ We've moved!
Hi there!
To reduce project dependency on 3rd party paid services the StackStorm TSC has decided to move the Q/A from this forum to Github Discussions. This will make user experience better integrated with the native Github flow, as well as the questions closer to the community where they can provide answers.
Use 🔗 Github Discussions to ask your questions.
As per stackstorm document required samba client is 4.1.
smbclient
>= 4.1 - Command line Samba client ( smbclient
package on Ubuntu
and samba-client
package on Fedora)`
Can i install version “4.6.2”? Can we have version greater than 4.1 for samba? Please respond ASAP.
The document states “smbclient >= 4.1”
>=
is commonly used in mathematics and programming and means “Greater than or Equal to”
If you require immediate, on-demand support, please contact [email protected].
Okays, please take your time and respond .
You can use Windows Integration Pack - GitHub - StackStorm-Exchange/stackstorm-windows.
A simple Mistral workflow executing a remote command would be like this:
---
version: '2.0'
default.remote-windows-command-demo:
input:
- host
- user
- password
tasks:
Dir_C_Drive:
action: windows.winexe_cmd
input:
command: "dir c:\\"
host: <% $.host %>
username: <% $.user %>
password: <% $.password %>
Regards,
Luciano