Command Line Pragma Manager

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. If no username or password is provided, telmc will use NTLM authentication.

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)

/O column [desc]    Sort data by the specified column heading. Add desc to sort in descending order. The column parameter should match the column heading.

/F  use full width of window. If this option is not specified the program will only use 80 columns to display the information

/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 try an NTLM authentication, or ask for password if NTLM fails, 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"

To list all current users on a Server named PROJSERV sorting by connection time

 telmc /M PROJSERV /who /o connected