Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Test-NaNfs


NAME
Test-NaNfs

SYNOPSIS
Checks whether the NFS service is running.

SYNTAX
Test-NaNfs [-Controller <NaController>] [<CommonParameters>]


DESCRIPTION
Checks whether the NFS service is running.


PARAMETERS
-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
DataONTAP.PowerShell.SDK.Cmdlets.Nfs.NfsStatusInfo


NOTES


Category: nfs
API: nfs-status

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

C:\PS>Test-NaNfs


Get the status of the NFS service.


IsEnabled : True
IsDrained : False



RELATED LINKS
Enable-NaNfs
Disable-NaNfs







 Data ONTAP® PowerShell Toolkit