How I can check connected users by Windows console (CMD)?
My purpose is to create a .bat which checks the number of connected users and if the number obtained is 0: execute the command shutdown. I pretend to execute this .bat every 30 min.
I need this becouse i have the ts3 running in an pc which can be started by WakeOnLan method (router wakes up it) and this .bat will help me to save energy.
If you know about some pluging or program that make something similar please post it.