We are running multiple (currently four) virtual Windows Server 2008 servers. In order to shut down those servers from a central point, we would like to know if all remote sessions to those machines have been logged out.
Is there some way to detect who has an active GUI session (such as remote desktop)?
We would like to be able to do this from a remote machine and/or from within each virtual server.