|
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_name
|
Server name
|
|
/U username
|
Administrative user name
|
|
/P password
|
Password for administrative user
|
|
/D domain
|
Domain of administrative user
|
|
/S port_number
|
optional port number. This should match the port of the Session Manager service under InetD Services
|
|
/O column [desc]
|
Sort data by specified column heading. Add desc to sort in descending order. The column parameter must match the column heading
|
|
/F
|
Use full width of window. If not specified only 80 columns will be used
|
|
/C
|
Continuous update mode. Refresh when user logs in or out. Only works with /who option.
Enter CTRL-C to exit.
|
COMMANDS:
|
/who
|
Returns list of users logged onto server
|
|
/logoff "all"
|
Logoff 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
|