#nfsShareCreate[Parameter(Mandatory=$true,HelpMessage='Local path to a location within a file system')][String]$Path,[Parameter(Mandatory=$true,HelpMessage='Name of the NFS share unique to NAS server')][String]$Name,

#$nfsShareParameters[Parameter(Mandatory=$false,HelpMessage='NFS share description')][String]$description,[Parameter(Mandatory=$false,HelpMessage='Indicates whether the NFS share is read-only')][bool]$isReadOnly=$false,[Parameter(Mandatory=$false,HelpMessage='Default access level for all hosts accessing the NFS share.')][NFSShareDefaultAccessEnum]$defaultAccess,[Parameter(Mandatory=$false,HelpMessage='Minimal security level that must be provided by a client to mount the NFS share.')][NFSShareSecurityEnum]$minSecurity,[Parameter(Mandatory=$false,HelpMessage='Hosts with no access to the NFS share or its snapshots.')][string[]]$noAccessHosts,[Parameter(Mandatory=$false,HelpMessage='Hosts with read-only access to the NFS share and its snapshots.')][string[]]$readOnlyHosts,[Parameter(Mandatory=$false,HelpMessage='Hosts with read-write access to the NFS share and its snapshots.')][string[]]$readWriteHosts,[Parameter(Mandatory=$false,HelpMessage='Hosts with root access to the NFS share and its snapshots.')][string[]]$rootAccessHosts)

}# End If ($request.StatusCode -eq $StatusCode)}else{Write-Warning-Message"$Type with ID $i does not exist on the array $($sess.Name)"}# End If ($ObjectID)}# End Foreach ($fs in $Filesystem)}# End If ($Sess.TestConnection()) }# End Foreach ($sess in $session)}# End Process}# End Function