PowerShell Logo Small

Disconnect-NfsSession



This is the built-in help made by Microsoft for the command 'Disconnect-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

Disconnects NFS sessions that a client computer established on an NFS server.

SYNTAX


Disconnect-NfsSession [-SessionId] <String[]> [[-ClientId] <UInt64[]>] [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf]
[<CommonParameters>]
Disconnect-NfsSession [-AsJob] [-CimSession <CimSession[]>] [-PassThru] [-ThrottleLimit <Int32>] -InputObject <CimInstance[]> [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Disconnect-NfsSession cmdlet disconnects one or more Network File System (NFS) sessions that a client computer establish on an NFS server. The session ID characterizes
each NFS session. You can use the session ID to disconnect a session.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=287483
Get-NfsSession

REMARKS

<

Examples


Example 1: Disconnect an NFS session for a specified client computer

PS C:\> Disconnect-NfsSession -ClientId 101



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