CmdID / PowerShell / Cmdlets / New
New-NfsShare
Creates an NFS file share. Windows Server PowerShell reference
From the Windows Server PowerShell reference 16 parameters Its page in the reference
Parameters
-AllowRootAccessGrants the UNIX root user access to a share.-AnonymousGid, -AnonGidSpecifies the group identifier (GID) that Server for NFS uses for anonymous users who access an NFS share.-AnonymousUid, -AnonUidSpecifies the user identifier (UID) that Server for NFS uses for anonymous users who access an NFS share.-AsJobIndicates that this cmdlet runs the command as a background job on a remote computer.-Authentication, -af, -authSpecifies an array of authentication types that an NFS client can use to access NFS shares.-CimSession, -SessionRuns the cmdlet in a remote session or on a remote computer.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-EnableAnonymousAccess, -anon, -AnonymousAccessConfigures an NFS share to allow anonymous users to access it.-EnableUnmappedAccess, -unmapped, -UnmappedAccessConfigures an NFS share to allow unmapped UNIX users to access a share by using the UID or GID.-LanguageEncoding, -lang, -encodingSpecifies language encoding to configure on an NFS share.-Name, -ShareNameSpecifies the name of the NFS share to create.-NetworkName, -netnameSpecifies the network name of a share.-Path, -SharePathSpecifies the path of a new NFS share.-Permission, -accessConfigures the type of global ("All Machines") permissions on the NFS share.-ThrottleLimitSpecifies the maximum number of concurrent operations that can be established to run the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.