Run Commands on Command-Line using Power Automate Desktop

In this post, we will run a simple command and get its output using Power Automate Desktop (PAD). We can use ipconfig windows command to test our flow. This is useful when you are automating any command-line tool.

Prerequisites

  1. Power Automate Desktop

Automate Command Line

Create a new flow in Power Automate desktop. Under Actions -> System -> Select Run DOS Command.

Enter the command you want to run and click on Save.

Run your flow to check the output.

On the right-side. Open the CommandOutput flow variable. If you changed this to some other variable, select that.

There you see the output in text format.

Thank you All!!! Hope you find this useful.


Up ↑

%d bloggers like this: