title: How to execute on-premises python script from ADF
body: <p>I have a python script resides in an Azure VM. This script uses a few local files from this VM. I need to create an ADF  pipeline which will execute this python script residing in this on-premises VM. As the script is placed on-premises, I can't use any cluster activity of ADF. So Basically the pipeline should connect to the VM and trigger the script execution. I could think of an option of using Custom Activity of ADF and trigger Powershell command from there to this on-premises python script. But not sure how to connect to on-premises scripts. </p>