< Back

New-NfsShare

Tue Jan 29, 2019 10:32 pm

NAME New-NfsShare



SYNTAX

New-NfsShare [-Name] <string> [-Path] <string> [[-NetworkName] <string>] [[-Authentication] <string[]> {sys | krb5

| krb5i | krb5p | all | default}] [[-AnonymousUid] <int>] [[-AnonymousGid] <int>] [[-LanguageEncoding] <string>

{euc-jp | euc-tw | euc-kr | shift-jis | big5 | ksc5601 | gb2312-80 | ansi}] [[-EnableAnonymousAccess] <bool>]

[[-EnableUnmappedAccess] <bool>] [[-AllowRootAccess] <bool>] [[-Permission] <string> {no-access | readonly |

readwrite}] [-CimSession <CimSession[]>] [-ThrottleLimit <int>] [-AsJob] [-WhatIf] [-Confirm] [<CommonParameters>]





PARAMETERS

-AllowRootAccess <bool>



Required? false

Position? 9

Accept pipeline input? true (ByPropertyName)

Parameter set name CreateShare0

Aliases None

Dynamic? false



-AnonymousGid <int>



Required? false

Position? 5

Accept pipeline input? true (ByPropertyName)

Parameter set name CreateShare0

Aliases AnonGid

Dynamic? false



-AnonymousUid <int>



Required? false

Position? 4

Accept pipeline input? true (ByPropertyName)

Parameter set name CreateShare0

Aliases AnonUid

Dynamic? false



-AsJob



Required? false

Position? Named

Accept pipeline input? false

Parameter set name CreateShare0

Aliases None

Dynamic? false



-Authentication <string[]>



Required? false

Position? 3

Accept pipeline input? true (ByPropertyName)

Parameter set name CreateShare0

Aliases af, auth

Dynamic? false



-CimSession <CimSession[]>



Required? false

Position? Named

Accept pipeline input? false

Parameter set name CreateShare0

Aliases Session

Dynamic? false



-Confirm



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases cf

Dynamic? false



-EnableAnonymousAccess <bool>



Required? false

Position? 7

Accept pipeline input? true (ByPropertyName)

Parameter set name CreateShare0

Aliases anon, AnonymousAccess

Dynamic? false



-EnableUnmappedAccess <bool>



Required? false

Position? 8

Accept pipeline input? true (ByPropertyName)

Parameter set name CreateShare0

Aliases unmapped, UnmappedAccess

Dynamic? false



-LanguageEncoding <string>



Required? false

Position? 6

Accept pipeline input? true (ByPropertyName)

Parameter set name CreateShare0

Aliases lang, encoding

Dynamic? false



-Name <string>



Required? true

Position? 0

Accept pipeline input? true (ByPropertyName)

Parameter set name CreateShare0

Aliases ShareName

Dynamic? false



-NetworkName <string>



Required? false

Position? 2

Accept pipeline input? true (ByPropertyName)

Parameter set name CreateShare0

Aliases netname

Dynamic? false



-Path <string>



Required? true

Position? 1

Accept pipeline input? true (ByPropertyName)

Parameter set name CreateShare0

Aliases SharePath

Dynamic? false



-Permission <string>



Required? false

Position? 10

Accept pipeline input? true (ByPropertyName)

Parameter set name CreateShare0

Aliases access

Dynamic? false



-ThrottleLimit <int>



Required? false

Position? Named

Accept pipeline input? false

Parameter set name CreateShare0

Aliases None

Dynamic? false



-WhatIf



Required? false

Position? Named

Accept pipeline input? false

Parameter set name (All)

Aliases wi

Dynamic? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).





INPUTS

System.String

System.String[]

System.Int32

System.Boolean





OUTPUTS

Microsoft.Management.Infrastructure.CimInstance





ALIASES

None





REMARKS

Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.

-- To download and install Help files for the module that includes this cmdlet, use Update-Help.

-- To view the Help topic for this cmdlet online, type: "Get-Help New-NfsShare -Online" or

go to http://go.microsoft.com/fwlink/?LinkID=240201.