title: Powershell to find out disconnected RDP session and log off at the same time
body: <p>Is there a script that can log out my disconnected RDP session from any server? This is causing a lot of pain and constant ad account lockouts. </p>
  
  <p>Any help would be awesome.</p>