CmdID

CmdID / PowerShell / Cmdlets / Close

Close-SmbSession

Ends forcibly the SMB session. Windows Server PowerShell reference

From the Windows Server PowerShell reference 14 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

14 in the Windows Server PowerShell reference
-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 case of a share hosted by a Windows cluster, the name of the server which is hosting the sessions are retrieved.
-ForceForces the command to run without asking for user confirmation.
-InputObjectSpecifies the input object that is used in a pipeline command.
-PassThruReturns an object representing the item with which you are working.
-ScopeNameSpecifies the scope of the sessions being retrieved.
-SessionIdSpecifies the identifier (ID) that uniquely identifies the session that is being ended.
-SmbInstanceSpecifies the input to this cmdlet.
-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.
-Confirm, -cfPrompts you for confirmation before running the cmdlet.
-WhatIf, -wiShows what would happen if the cmdlet runs.