Killing Processes In Disconnected Terminal Service Sessions
Usually it is best to configure your terminal service policy to log out disconnected sessions, however there may be cases where you only want to kill specific applications when the user disconnects. This is easy to do with a PowerShell script that you run periodically as...