CmdID / PowerShell / Cmdlets / Remove
Remove-NfsNetgroup
Removes a netgroup. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-LdapNamingContext, -dnSpecifies the Lightweight Directory Access Protocol (LDAP) naming context of a netgroup store.-LdapServer, -ldapSpecifies an LDAP server name of a netgroup store.-NetGroupName, -name, -ngnameSpecifies the name of a netgroup to remove.-WhatIf, -wiShows what would happen if the cmdlet runs.