net session

Net session i net file

C:\Windows\System32>net file | find /i "user"
C:\Windows\System32>net session | find /i "user"
 \\177.25.239.167        user                                      0 00:00:15
C:\Windows\System32>net session \\177.25.239.167  /DELETE
 The session from 197.215.189.1322 has open files.
Do you want to continue this operation? (Y/N) [N]: Y
 The command completed successfully.