NET SESSION lists or disconnects sessions between the computer and other computers on the network. When used without options, ...

NET SESSION lists or disconnects sessions between the computer and other computers on the network. When used without options, it displays information about all sessions with the computer of current focus.  This command works only on servers.  \\computername  Lists the session information for the named computer. /DELETE         Ends the session between the local computer and                  computername, and closes all open files on the computer                 for the session. If computername is omitted,                  all sessions are ended.  NET HELP command | MORE displays Help one screen at a time.