PowerShell Logo Small

Set-NfsNetgroupStore



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

Modifies netgroup configuration settings.

SYNTAX


Set-NfsNetgroupStore [-AsJob] [-CimSession <CimSession[]>] [-InputObject <CimInstance[]>] [-LDAPNamingContext <String>] [-LdapServer <String>] [-NetgroupStoreType <String>]
[-NisDomain <String>] [-NisServer <String>] [-PassThru] [-ThrottleLimit <Int32>] [-Confirm] [-WhatIf] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


The Set-NfsNetgroupStore cmdlet modifies configuration settings that a Network File System (NFS) Server uses to obtain netgroups from a specified netgroup store.


An NFS server can get netgroups from Network Information Service (NIS) or RFC-2307-compliant Lightweight Directory Access Protocol (LDAP)–based stores, such as Active
Directory Domain Services (AD DS) or Active Directory Lightweight Directory Services (AD LDS).



<

RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?linkid=287511
RFC-2307
Get-NfsNetgroupStore
Set-NfsMappingStore

REMARKS

<

Examples


Example 1: Configure an NFS server to get netgroups from an LDAP store

PS C:\> Set-NfsNetgroupStore -NetgroupSourceType "LDAP" -LdapServer "Contoso.com"



This command configures an NFS server to get netgroups from an LDAP store that is named Contoso.com.




Example 2: Configure an NFS server to get netgroups from an NIS store

PS C:\> Set-NfsNetgroupStore -NetgroupSourceType "NIS" -NisServer "NIS.Contoso.com"



This command configures an NFS server to get netgroups from an NIS store that is named NIS.Contoso.com.