web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Run batch file using flow
Power Automate
Answered

Run batch file using flow

(1) ShareShare
ReportReport
Posted on by

Can I run batch file (.bat) using a flow?

 

 

Categories:
I have the same question (0)
  • Verified answer
    sergeluca Profile Picture
    500 on at

    By using the data management gateway you can have interaction from flow to on prem environments, and from there you can run a powershell thar runs a .bat file

     

    to run a powershell on premises, you can use azure automation from flow and run a runbokk https://blogs.technet.microsoft.com/stefan_stranger/2017/03/30/azure-automation-new-microsoft-flow-service/

    or you can take a look at my blog post: https://sergeluca.wordpress.com/2017/12/01/upload-and-run-a-remote-powershell-script-from-microsoft-flow/

     

    Cheers

     

    Serge Luca

    aka Doctor Flow

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard