Batch script to monitor connected sessions.