< Back

Get-NsNfsShare

Sat Jan 18, 2020 5:13 pm

NAME Get-NsNfsShare



SYNOPSIS

Get information about one ot more NFS Shares





SYNTAX

Get-NsNfsShare [<CommonParameters>]



Get-NsNfsShare [[-Path] <String>] [<CommonParameters>]





DESCRIPTION

Get information about one ot more NFS Shares





PARAMETERS

-Path <String>



Required? false

Position? 1

Default value

Accept pipeline input? true (ByValue, ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

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

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



INPUTS



OUTPUTS

If nothing is specified, all NFS shares are returned.

If a path is specified, the NFS share for that filesystem is retrieved.





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-NfsShare | ft



filesystem shareState mountPoint securityContexts

anon nohide

---------- ---------- ---------- ----------------

---- ------

p1/top1 online /p1/top1 {@{readWriteList=System.Object[]; securityModes=System.Object[]}}

-1 False

p1/top2 online /p1/top2 {@{readOnlyList=System.Object[]; readWriteList=System.Object[];

root=System.Object[]; none=System.Object[]; securityModes=System.Object[]}} -1 False

p1/top2/sub1 online /p1/top2/sub1 {@{readWriteList=System.Object[]; securityModes=System.Object[]}}

-1 False

p1/top3 online /export/top3 {@{readWriteList=System.Object[]; securityModes=System.Object[]}}

-1 False

p1/top5 online /p1/top5 {@{root=System.Object[]; securityModes=System.Object[]}}

False

p2/top1/sub1 online /p2/top1/sub1 {@{readWriteList=System.Object[]; securityModes=System.Object[]}}

nobody False



Get all nfs shares









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Get-NfsShare p1/top1



anon : -1

filesystem : p1/top1

mountPoint : /p1/top1

nohide : False

securityContexts : {@{readWriteList=System.Object[]; securityModes=System.Object[]}}

shareState : online



Get NFS share for path











RELATED LINKS