This is the built-in help made by Microsoft for the command 'Set-NfsServerConfiguration', 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.
Changes configuration settings for an NFS server.
Set-NfsServerConfiguration [-AlwaysOpenByName <Boolean>] [-AsJob] [-AuthenticationRenewalIntervalSec <UInt32>] [-CharacterTranslationFile <String>] [-CimSession
<CimSession[]>] [-ClearMappingCache] [-DirectoryCacheSize <UInt32>] [-EnableAuthenticationRenewal <Boolean>] [-EnableNFSV2 <Boolean>] [-EnableNFSV3 <Boolean>] [-EnableNFSV4
<Boolean>] [-GracePeriodSec <UInt32>] [-HideFilesBeginningInDot <Boolean>] [-InputObject <CimInstance[]>] [-LeasePeriodSec <UInt32>] [-LogActivity <String[]>]
[-MapServerProtocol <String[]>] [-MountProtocol <String[]>] [-NetgroupCacheTimeoutSec <UInt32>] [-Nfsprotocol <String[]>] [-NisProtocol <String[]>] [-NlmGracePeriodSec
<UInt32>] [-NlmProtocol <String[]>] [-NsmProtocol <String[]>] [-OnlineTimeoutSec <UInt32>] [-PassThru] [-PortmapProtocol <String[]>] [-PreserveInheritance <Boolean>]
[-ThrottleLimit <Int32>] [-UnmappedUserAccount <String>] [-WorldAccount <String>] [-Confirm] [-WhatIf] [<CommonParameters>]
The Set-NfsServerConfig cmdlet changes the configuration settings for an existing Network File System (NFS) server.
For some changes to take effect, you must restart Services for NFS. The cmdlet prompts you to restart if necessary.
<
Online Version: http://go.microsoft.com/fwlink/?linkid=287512
Get-NfsServerConfiguration
<
Example 1: Set a grace period on a local NFS server
PS C:\> Set-NfsServerConfiguration -NlmGracePeriodSec 45 -GracePeriodSec 240
This command sets the grace period for the NLM protocol to 45 seconds and sets the grace period for NFS v4.1 to 240 seconds on a local NFS server.
Example 2: Set NFS versions on a local NFS server
PS C:\> Set-NfsServerConfiguration -EnableNfsv2 $false -EnableNfsv4 $true -EnableNfsv3 $true
This command disables versions 2 and 3 of the NFS protocol and enables NFS v4.1 on a local NFS server.