Reference Guide

Example
Disconnect an active SMB session for the user idffs2\user1 on the computer win2k8d-m380.lab.town
using NAS controller 1:
CLI> networking active-sessions logoff-SMB-sessions -ClientComputerName 1
win2k8d-m380.lab.town -UserName idffs2\user1
networking active-sessions logoff-SMB-session-by-ID
Disconnect an active SMB session by session ID.
Format
networking active-sessions logoff-SMB-session <SessionID>
Arguments
Argument Description Format
<SessionID> ID of the connected SMB session Existing session ID
Example
Disconnect an active SMB session with an ID of 150471:
CLI> networking active-sessions logoff-SMB-session 150471
networking active-sessions list
Display a list of active sessions.
Format
networking active-sessions list {options}
Options
Option Description Format
--CSV Displays the command output in
a commadelimited format with a
header
Append --CSV to the command
-list Displays a list of active SMB and
NFS sessions
-FilterByUserName
<FilterByUserName>
Displays only the sessions
matching specified user name
184
CLI Commands