I need a program/tool capable of periodically report the users logged in into the domain controlled by a Windows 2008 AD Server. A solution without periodically checking is also OK, because it's easy to run something scheduled. Also, I would prefer some command line tool, so I can write a script to wrap it's output and send it to another machine.
PS: I am only interested in built-in or free tools.
Thanks a lot.