1

Is there a Linux program that can run processes that exist on a remote Windows machine?

E.g. I have several .dtsx files on a Windows Server 2012 machine that are executed via Windows Task Scheduler, but I would like to have these files executed from an Apache Airflow job instead. My idea would be to access the remote execution program from a bash script on the linux machine as part of an Airflow workflow.

If there is anything similar to this or if this is a use-case that other have resolved some other way, please let me know.

2
  1. I know, Ansible can control Windows machines over WinRM. You can use Ansible or look how it implemented. (UPD1: Thanks to lampShadesDrifter. pywinrm which is supposedly used by Ansible.)
  2. Look like cross-platform the PowerShell Core can control remote host.

UPD2:

  1. Try use pstools under wine. (but it not open source solution)
  • 1
    Had heard of Ansible before and looks interesting. Others finding this post can see here for more info (ansible.com/resources/get-started) (appears that Ansible is free, but there are non-free versions / integrations as well). Also found python package pywinrm (github.com/diyan/pywinrm) which is supposedly used by Ansible. Haven't tested it, but looks simple enough. – lampShadesDrifter Aug 8 '18 at 11:53
  • @lampShadesDrifter WinRM in general is pretty simple, once you have it set up properly. Getting it to the point that it's properly set up on the client system though is not exactly trivial. – Austin Hemmelgarn Aug 15 '18 at 18:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.