PowerShell Logo Small

Get-NfsSession



This is the built-in help made by Microsoft for the command 'Get-NfsSession', 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 which client computers are currently connected to one or more shares on an NFS server.

SYNTAX


Get-NfsSession [[-SessionId] <String[]>] [[-ClientId] <UInt64[]>] [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Get-NfsSession cmdlet gets information about Network File System (NFS) sessions that client computers establish on an NFS server. The session ID characterizes each NFS
session. You can specify a session ID in the Get-NfsOpenFile and Get-NfsClientLock cmdlets to get a list of open or locked files or on a client computer.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=287492
Disconnect-NfsSession
Get-NfsOpenFile
Get-NfsClientLock

REMARKS

<

Examples


Example 1: Get all NFS sessions for a specified client computer

PS C:\> Get-NfsSession -ClientId 101



This command gets all NFS sessions on a local NFS server for a client computer that has the ID 101.