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 Automate
Answered

No PowerShell window

(0) ShareShare
ReportReport
Posted on by 119

Just wondering if I'm missing something but I have a simple PAD flow that executes a PowerShell script that is passed as a parameter from a Cloud Flow however I don't see the PowerShell window open.  The script executes and I see an instance of PowerShell running in Task Manager but unlike the previous version of UI flows I don't actually see the window open.

Like I say everything works but it was just confusing that the window didn't actually open!

I have the same question (0)
  • Verified answer
    RPA2 Profile Picture
    Microsoft Employee on at

    Hi There,

    This is an expected behavior of PAD. When you run a PowerShell Script, it does not open the PowerShell Window, but it runs the program. The "Run DOS Command" and "Open CMD Session" Actions in PAD also show similar behavior. The "Open CMD Session" Action opens a CMD session in the background and runs all the command written to that session. You can read the session output as well, with no interaction with the CMD Window, till the session is alive.
    This RPA feature enables Users to carry on with other tasks while the BOT is busy running Desktop Flows in the background.

    I hope this makes sense.

    Thanks!

     

  • danrobson Profile Picture
    119 on at

    Makes perfect sense thank you for clarifying. 

  • mohammadtaha Profile Picture
    30 on at

    @robofski Does the PS1 actually execute what is expected from it? I have the same scenario, PAD says it executed the PS1 file, no errors, yet nothing happen as if nothing was executed.
    Execute the same PS1 directly from elevated PS Shell works fine. I'm puzzled!

  • danrobson Profile Picture
    119 on at

    My PS1 commands are executed as expected. 

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 481

#2
11manish Profile Picture

11manish 278

#3
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

Last 30 days Overall leaderboard