title: PowerShell open remote GUI session for UIAutomation
body: <p>I'm currently working on automatic installation of GUI application using library UIAutomation PS Extensions (<a href="https://uiautomation.codeplex.com/" rel="noreferrer">https://uiautomation.codeplex.com/</a>). It works pretty well in cases, when I run it against existing Windows user session. I run my PS script, it opens a window and I can click on buttons and so on .. 
  <p>
  However, problem raises when this library is called from remote machine. I call my script (which should open a GUI window and start controlling it) via PsExec from remote machine. This causes that script is not able to open GUI window on remote machine and starts to produce various exceptions. <br>
  As workaround for this, I can make PsExec to connect to specific existing session on remote host, but unfortunatelly this is not stable as I can't guarantee session's existence. </p>
  
  <p>Does enyone know whether it's possible to force PowerShell to open new session (interactive GUI) through which I would be able to call UIAutomation commands? </p>
  
  <p>Thank in advance
  Matthew</p>