Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Clear-NaNfsExportCache


NAME
Clear-NaNfsExportCache

SYNOPSIS
For the given path, or all paths, renew or flush the access cache.

SYNTAX
Clear-NaNfsExportCache [-Path <String>] [-Controller <NaController>] [<Commo
nParameters>]


DESCRIPTION
For the given path, or all paths, renew or flush the access cache.


PARAMETERS
-Path <String>
Pathname to flush. If this input is not provided, all of the paths in th
e exports table are flushed.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The Data ONTAP controller object, embodied by an NaController object. T
his parameter is returned by the Connect-NaController cmdlet. If not sp
ecified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES


Category: nfs
API: nfs-exportfs-flush-cache

-------------- Example 1 --------------

C:\PS>Clear-NaNfsExportCache


Flush the cache for all paths in the exports table.






RELATED LINKS
Update-NaNfsExport







 Data ONTAP® PowerShell Toolkit