PowerShell Logo Small

Get-NfsOpenFile



This is the built-in help made by Microsoft for the command 'Get-NfsOpenFile', in PowerShell version 5 - as retrieved from Windows version 'Microsoft Windows Server 2012 R2 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

Gets information about files that are open on an NFS server for a client computer.

SYNTAX


Get-NfsOpenFile [[-Path] <String[]>] [[-StateId] <String[]>] [[-ClientId] <UInt64[]>] [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-NfsOpenFile cmdlet gets information about files that are in a Network File System (NFS) share and hosted by an NFS server, and that a client computer is currently
holding open. You can specify a client identifier to view all files that are in an open state for the specified client.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=287490
Revoke-NfsOpenFile

REMARKS

<

Examples


Example 1: Get all open files on an NFS server

PS C:\> Get-NfsOpenFile



This command gets all open files on an NFS server.




Example 2: Get all open files for a specified client computer on an NFS server

PS C:\> Get-NfsOpenFile -ClientId 101



This command gets all open files on an NFS server for a client computer that has the ID 101.




Example 3: Get all open files on an NFS server by path and file name by using a wildcard

PS C:\> Get-NfsOpenFile -Path "C:\Windows\Setup*"



This command gets all open files on an NFS server that are in the C:\Windows folder and that contain the word Setup.