CmdID

CmdID / PowerShell / Cmdlets / Close

Close-SmbOpenFile

Closes a file that is open by one of the clients of the SMB server. Windows Server PowerShell reference

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

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

Parameters

15 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 to filter the returned open files so that only the matching files are opened.
-ClientUserNameSpecifies the name of the user for which the open files are retrieved.
-ClusterNodeNameSpecifies, if a share is hosted by a windows cluster, the name of the server which is hosting the open files to be retrieved.
-FileIdSpecifies the file identifier (ID) of the file to forcibly close.
-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 open files to be retrieved.
-SessionIdSpecifies a session ID.
-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.