Lists or terminates sessions with clients connected to the computer.
net session [\\computername] [/delete]
Parameters | |
---|---|
| |
Parameter | Purpose |
| |
None | Displays information about all active sessions. |
[\\computername] | Identifies a specific network computer. |
[/delete] | Terminates a session with \\computername and then closes all open files on the computer for the session. |