PowerShell Logo Small

Revoke-NfsSharePermission



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

Revokes permission to access shares that an NFS server exports.

SYNTAX


Revoke-NfsSharePermission [-Name] <String> [-ClientName] <String> [-ClientType] <String> [-AsJob] [-CimSession <CimSession[]>] [-NetworkName <String>] [-ThrottleLimit
<Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]
Revoke-NfsSharePermission [-Path] <String> [-ClientName] <String> [-ClientType] <String> [-AsJob] [-CimSession <CimSession[]>] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf]
[<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Revoke-NfsSharePermission cmdlet revokes permissions previously granted by a Network File System (NFS) server that has an NFS share configured. You can use the
Get-NfsSharePermission cmdlet to get a list of the permissions configured on an NFS share.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=287507
Get-NfsSharePermission
Grant-NfsSharePermission

REMARKS

<

Examples


Example 1: Revoke NFS share permissions for a specified host

PS C:\> Revoke-NfsSharePermission -Name "Export" -ClientName "contoso-fs" -ClientType "host"



This command revokes permissions for a host computer named contoso-fs on an NFS share called Export. The command identifies the client as a host client type.




Example 2: Revoke NFS share permissions for a specified group

PS C:\> Revoke-NfsSharePermission -Name "Export" -ClientName "contoso-netgroup" -ClientType "netgroup"



This command revokes permissions for a netgroup named contoso-netgroup on an NFS share called Export. The command identifies the client as a netgroup type.