<#
.SYNOPSIS
Modifies filesystem parameters.
.DESCRIPTION
Modifies filesystem parameters.
You need to have an active session with the array.
.NOTES
Written by Erwan Quelin under MIT licence - https://github.com/equelin/Unity-Powershell/blob/master/LICENSE
.LINK
https://github.com/equelin/Unity-Powershell
.PARAMETER Session
Specify an UnitySession Object.
.PARAMETER Name
New Name of the filesystem
.PARAMETER Description
Filesystem Description
.PARAMETER snapSchedule
ID of a protection schedule to apply to the filesystem
.PARAMETER isSnapSchedulePaused
Is assigned snapshot schedule is paused ? (Default is false)
.PARAMETER Size
Filesystem Size
.PARAMETER hostIOSize
Typical write I/O size from the host to the file system
.PARAMETER tieringPolicy
Filesystem tiering policy
.PARAMETER defaultAccess
Default access level for all hosts accessing the VMware NFS LUN.
.PARAMETER noAccessHosts
Hosts with no access to the VMware NFS LUN or its snapshots, as defined by the host resource type.
.PARAMETER readOnlyHosts
Hosts with read-only access to the VMware NFS LUN and its snapshots, as defined by the host resource type.
.PARAMETER readWriteHosts
Hosts with read-write access to the VMware NFS LUN and its snapshots, as defined by the host resource type.
.PARAMETER rootAccessHosts
Hosts with root access to the VMware NFS LUN and its snapshots, as defined by the host resource type.
.PARAMETER Append
Append Hosts access to existing configuration
.PARAMETER Confirm
If the value is $true, indicates that the cmdlet asks for confirmation before running. If the value is $false, the cmdlet runs without asking for user confirmation.
.PARAMETER WhatIf
Indicate that the cmdlet is run only to display the changes that would be made and actually no objects are modified.
.EXAMPLE
Set-UnityVMwareNFS -ID 'fs_1' -Description 'Modified description'

#$nfsShareParameters[Parameter(Mandatory=$false,HelpMessage='Default access level for all hosts accessing the VMware NFS LUN.')][NFSShareDefaultAccessEnum]$defaultAccess,[Parameter(Mandatory=$false,HelpMessage='Hosts with no access to the VMware NFS LUN or its snapshots.')][string[]]$noAccessHosts,[Parameter(Mandatory=$false,HelpMessage='Hosts with read-only access to the VMware NFS LUN and its snapshots.')][string[]]$readOnlyHosts,[Parameter(Mandatory=$false,HelpMessage='Hosts with read-write access to the VMware NFS LUN and its snapshots.')][string[]]$readWriteHosts,[Parameter(Mandatory=$false,HelpMessage='Hosts with root access to the VMware NFS LUN and its snapshots.')][string[]]$rootAccessHosts,[Parameter(Mandatory=$false,HelpMessage='Append Hosts access to existing configuration')][Switch]$append)

}# 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 ($i in $ID)}# End If ($Sess.TestConnection()) }# End Foreach ($sess in $session)}# End Process}# End Function