Hi @pmscorca
Yes, you can run a .bat file on the Azure VM using the Script activity in Azure Data Factory. The Script activity supports running scripts in multiple languages, including PowerShell, Python, and Batch. To run a .bat file, you can specify the path to the .bat file in the "Script Path" property of the Script activity. Here's an example of how to run a .bat file using the Script activity:
- Create a new pipeline in Azure Data Factory.
- Add a Script activity to the pipeline.
- In the Script activity, set the "Script Path" property to the path of the .bat file on the Azure VM.
- Set the "Script Linked Service" property to the file system linked service that points to the Azure VM.
- Set the "Script Type" property to "Command".
- Save and publish the pipeline.
When you run the pipeline, the Script activity will execute the .bat file on the Azure VM.
I hope this helps! Let me know if you have any other questions.