PowerShell Logo Small

Remove-NfsNetgroup



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

Removes a netgroup.

SYNTAX


Remove-NfsNetgroup [-NetGroupName] <String> [[-LdapServer] <String>] [[-LdapNamingContext] <String>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Remove-NfsNetgroup cmdlet removes a netgroup.


You can remove netgroups that are stored in Active Directory Domain Services (ADDS) or Active Directory Lightweight Directory Services (ADLDS) only. To remove a netgroup
that is stored in Network Information Service (NIS), use the corresponding NIS administration tool. For more information about how to manage an NIS server, see Server for
NIS Administration.


If you do not specify a netgroup store, the Remove-NfsNetgroup cmdlet removes the netgroup from a netgroup store that is configured on the local computer.



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=287521
Get-NfsNetgroup
Set-NfsNetgroup
New-NfsNetgroup

REMARKS

<

Examples


Example 1: Remove an NFS netgroup

PS C:\> Remove-NfsNetgroup -NetGroupName "AppServers" -LdapInstanceName "Contoso.com"



This command removes an NFS netgroup that is named AppServers from a netgroup store in Contoso.com.




Example 2: Remove an NFS netgroup from aconfigured store

PS C:\>Remove-NfsNetgroup -NetGroupName "AppServers"



This command removes an NFS netgroup that is named AppServers. Because the netgroup store is not specified, the cmdlet removes the netgroup from the netgroup store that is
configured on the local NFS server.