Call Interactive Console Application from PowerShell

Learn how to use interactive console applications from the PowerShell ISE.

John Savill

January 13, 2015

1 Min Read
PowerShell command prompt

Q: I'm trying to call a console application from PowerShell in the PowerShell Integrated Scripting Environment (ISE), but applications that require user interaction don't work; why?

A: Interactive console applications aren't supported from the PowerShell ISE, which is by design. If you need to call a console application that requires user interaction, launch the console application via the "start-process " action, which will launch in a separate window. If you launch cmd.exe from the PowerShell ISE, it will fail. But if you use Start-Process cmd.exe, it will work.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like