title: Shadowing RDP session automatically
body: <p>I want to create a powershell script. One of our supporting companies needs to connect to our server from time to time to make their work and I need to connect their RDP session to watch them if their doing is OK. </p>
  
  <p>Server: MS Server 2012 R2 x64</p>
  
  <p>The case is I want to create a script which;</p>
  
  <p>1- Checks the server's current sessions
  2- Finds the specific session ID come from the username (the which I will give them to connect) currently logged in as RDP
  3- When I pull the correct session ID from the username (and that means he is currently online and connected), I want to shadow his/her session without prompting/requesting their approvals.</p>
  
  <p>Yes, I can do these separately but looking a powershell script or something like that to these. In one attempt, I want to shadow rdp to correct session and if he/she is not online, I want the system return an information message to me that the username is not currently online.</p>
  
  <p>Is it possible?</p>
  
  <p>Thanks&amp;Regards 
  Melih</p>