Clear-Host
app.exe
Start-Sleep 01
[System.Windows.Forms.SendKeys]::SendWait("^a")
[System.Windows.Forms.SendKeys]::SendWait("{ENTER}")
Get-Clipboard | Out-FIle C:\TEMP\AppExe-Output.txt
might work but is not as powershell...esk
Does this not work?
App.exe | Out-File C:\TEMP\App-OutFile.txt