title: Operating PowerShell inside an application?
body: <p>I want to make an executable that contains a collection of PowerShell scripts.  On the left hand side the user could see a list of different scripts to select and run, and on the right hand side would be the output.</p>
  
  <p>If I have a basic wpf app that looks like the following: <img src="https://i.stack.imgur.com/bVvUY.png" alt="enter image description here"></p>
  
  <p>Would I be able to create an instance of PowerShell inside the right portion of the window?</p>
  
  <p>i.e. something like this: <img src="https://i.stack.imgur.com/E5b2H.png" alt="enter image description here"></p>
  
  <p>The output window (the right side) would pretty much just be for the output of whatever script was run.  </p>
  
  <p>Before I get too invested in this idea though, is it even possible to run/output PowerShell scripts inside a window of a WPF application?</p>