PowerShell Logo Small

Revoke-NfsOpenFile



This is the built-in help made by Microsoft for the command 'Revoke-NfsOpenFile', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Revokes open files on an NFS server for a client computer.

SYNTAX


Revoke-NfsOpenFile [-Path] <String[]> [[-StateId] <String[]>] [[-ClientId] <UInt64[]>] [-AsJob [<SwitchParameter>]] [-CimSession
<CimSession[]>] [-PassThru [<SwitchParameter>]] [-ThrottleLimit <Int32>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]]
[<CommonParameters>]
Revoke-NfsOpenFile [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-PassThru [<SwitchParameter>]] [-ThrottleLimit <Int32>]
-InputObject <CimInstance[]> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Revoke-NfsOpenFile cmdlet revokes the files that a client opened on a Network File System (NFS) server. You can select the files by the
path of the open file, the ID of the client computer that opened the file, or the state ID of the open file. The Path parameter supports
wildcards, so you can revoke multiple files that match the specified pattern.



<

RELATED LINKS

Get-NfsOpenFile

REMARKS

<

Examples


Example 1: Revoke all open files on an NFS server

PS C:\> Revoke-NfsOpenFile -Path "C:\Shares\*"



This command revokes all open files on a local NFS server that contain the name C:\Shares.