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 / How to "Make instance ...
Power Automate
Answered

How to "Make instance visible" for Powershell and CMD?

(0) ShareShare
ReportReport
Posted on by 139

The Launch Excel action includes a "Make instance visible" option:

 

drake_0-1623072942319.png

 

 

The Run Powershell script and Open CMD session actions do not include this option, however.  This makes it difficult to debug CMD and Powershell sessions (can't see the commands running, etc.)  Is there some workaround available to make working with CMD and Powershell sessions easier?  Or is a "Make Instance visible" option planned for a future release?  Thanks!

I have the same question (0)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    You can try 'Run Application' action under System group. In parameters, application path, use 'C:\Windows\System32\cmd.exe' (usual path). You can also choose a maximized window in 'Window style' option. 

  • drake Profile Picture
    139 on at

    Thanks @Anonymous that gets us half way there (writing data to the window). 

     

    I wonder if there is a way in Power Automate Desktop to read from the window too?

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Couldn't find a command to directly capture text from cmd window.

    Best way to get the text is use 'Send keys' actions for 'Select All' shortcut (I work in a non-english Windows, so here the shortcut is Ctrl+A) and then shortcut for 'Copy' (here is Enter). You can find the correct shortcuts in CMD window: right-click top of window and then Edit.

    After that, use 'Get Clipboard Text' action under Clipboard group to get the text and work with it.

    If this solved your problem, please mark this post as solution 😉

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
Haque Profile Picture

Haque 557

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 264 Super User 2026 Season 1

Last 30 days Overall leaderboard