cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Kumar05
New Member

Run power shell script from Microsoft flow

Hi All,

I want to run the power shell script from Microsoft flow.  Is this possible through flow? Else can anyone suggest me a work around?

Thanks in advance.

1 REPLY 1
v-yamao-msft
Community Support
Community Support

Hi @Kumar05,

 

I assume that it could be achieved by calling the PowerShell from Azure Function.

Here is a blog on Run any PnP-PowerAhell in one AzureFunction from Microsoft Flow for your reference:

http://johnliu.net/blog/2018/4/run-any-pnp-powershell-in-one-azurefunction-from-microsoft-flow

Besides, it seems that we could also run on-premises PowerShell script from flow, the following blog for your reference:

https://sergeluca.wordpress.com/2017/12/01/upload-and-run-a-remote-powershell-script-from-microsoft-...

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (2,124)