Rsess.vbs
Use this command for session management. The following table lists the parameters you can use with the rsess Visual Basic command.
Parameter | Description |
-t operation, in which operation is
one of the following arguments: |
|
e | Enumerates users. |
d | Terminates a session. (You must specify -u username or -i ipaddress.) |
a | Terminates all sessions; terminates a client connection. |
-u username | The user name to be terminated. |
-i ipaddress | The IP or host name to be terminated. |
-s server | The name of the server computer to be configured. |
-v virtual server id | The NNTP virtual server ID (an integer). |
The following examples show how command scripts are used. When
Windows Script Host is running, you can type any of the command
scripts shown here on the command line.
Command script | Function |
Rsess.vbs -t e -v 1 |
Lists the current sessions for the NNTP virtual server. In this example, the NNTP virtual server is named 1. |
Rsess.vbs -t d -u bad_user |
Terminates the session for the user bad_user. |
Rsess.vbs -t a |
Terminates all sessions. |