CmdID / PowerShell / Cmdlets / Revoke
Revoke-NfsClientLock
Releases file locks that a client computer holds on an NFS server. Windows Server PowerShell reference
From the Windows Server PowerShell reference 11 parameters Its page in the reference
Parameters
-AsJobIndicates that this cmdlet runs the command as a background job on a remote computer.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-ComputerName, -client, -name, -ClientComputerSpecifies the host name of the client computer that holds a lock to files on the NFS server.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-InputObjectSpecifies the input to this cmdlet.-LockType, -typeSpecifies an array of lock types on the file.-PassThruReturns an object representing the item with which you are working.-Path, -file, -LockedFileSpecifies an array of paths and file names on the NFS server.-StateIdSpecifies the state identifier of the locks to revoke.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.