PowerShell Logo Small

Disconnect-NfsSession



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

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

SYNTAX


Disconnect-NfsSession [-SessionId] <String[]> [[-ClientId] <UInt64[]>] [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-PassThru
[<SwitchParameter>]] [-ThrottleLimit <Int32>] [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<CommonParameters>]
Disconnect-NfsSession [-AsJob [<SwitchParameter>]] [-CimSession <CimSession[]>] [-PassThru [<SwitchParameter>]] [-ThrottleLimit <Int32>]
-InputObject <CimInstance[]> [-Confirm [<SwitchParameter>]] [-WhatIf [<SwitchParameter>]] [<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

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.