telmc.exe
Telmc is the command line version of Pragma's GUI Pragma Session Manager. It can be used to list current users logged onto a machine by one of Pragma's Servers, or it can be used to logoff a user or ALL users. The user running telmc must have Administrative rights. The password is always required, either on the command line, or when prompted.
USAGE:
telmc [options] command
OPTIONS:
/M machine server name
/U username User to process command as
/P password User password, if one not given you will be prompted for it
/D domain Optional Windows Domain name
/S port # Optional, port #(default 954)
/C Continuous update mode. Refresh when user logs in or out. ONLY WORKS WITH /who
NOTE: To exit continuous update mode, enter CTRL-C
COMMANDS:
/who Returns list of users logged onto Server
/logoff "all" Logs off all users
/logoff "username ProcessID" Logs off the user specified, PID is returned from the /who command
EXAMPLES:
To list all current users on a Server named PROJSERV using your userid as the administrator, you type:
telmc /M PROJSERV /who
The above command would ask you for a password to continue and then return a list of users currently logged on to your server using one of Pragma's servers. Your password will NOT be printed.
To use the parameters above, but to logoff USERONE who is currently logged on with PID(Process ID) 244, you type:
telmc /D PRAGMASYS /M PROJSERV /U JOHNDOE /logoff USERONE 244
To use the same parameters above, but logoff all users currently logged on, you type:
telmc /D PRAGMASYS /M PROJSERV /U JOHNDOE /logoff "all"