CmdID / PowerShell / Cmdlets / Get
Get-SmbSession
Retrieves information about the SMB sessions that are currently established between the SMB server and the associated clients. Windows Server PowerShell reference
From the Windows Server PowerShell reference 10 parameters Its page in the reference
Parameters
-AsJobRuns the cmdlet as a background job.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-ClientComputerNameSpecifies the client computer name from which the only sessions are returned.-ClientUserNameSpecifies the name of the user whose sessions are retrieved.-ClusterNodeNameSpecifies, in the case of a share hosted by a Windows cluster, the name of the server which is hosting the sessions is retrieved.-IncludeHiddenIndicates that sessions that are created and used internally are enumerated also.-ScopeNameSpecifies the scope of the sessions being retrieved.-SessionIdSpecifies the identifiers (IDs) that uniquely identify the sessions for which the information is retrieved.-SmbInstanceSpecifies the input to this cmdlet.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.