Monitor Windows Terminal Sessions from Linux/Mac
Posted
by mhd
on Server Fault
See other posts from Server Fault
or by mhd
Published on 2010-02-12T00:15:37Z
Indexed on
2010/04/17
22:03 UTC
Read the original article
Hit count: 207
I'm writing some scripts to make remote connections to a Windows 2003 server a bit more user-friendly, and in doing this I want to see who's logged in already. In Windows, I could use qwinsta.exe to do this, even for remote servers. So it is exposed somehow, but I couldn't find a matching command line tool for Unix.
Lacking such a tool, I could install an ssh server on the machine and call it remotely, parsing the output or write a small service of my own that would expose this via http, if I don't want full-blown ssh access.
Do I have to do this, or is there already a tool for querying terminal services remotely?
© Server Fault or respective owner