title: How to run interactive commands in another application window from powershell
body: <p>I have another command line program which I invoke from my powershell script and would like to run some interactive commands in that window once it is opened from power shell. </p>
  
  <p>In other words - I do a <code>Invoke-Item $link_to_app</code> which opens up the interactive command line for that application and now I would like to use the application specific commands from within powershell scripts. </p>
  
  <p>e.g. <code>app.exe -help</code> to invoke the help command of the <code>app.exe</code>. </p>
  
  <p>Any pointers would help. Thanks!</p>