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

Announcements

News and Announcements icon
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 Microsoft Employee

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard