Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Test-NaCifs


NAME
Test-NaCifs

SYNOPSIS
Returns the running state of the CIFS service.

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


DESCRIPTION
Returns the running state of the CIFS service.


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
System.String


NOTES


Category: cifs
API: cifs-status

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

C:\PS>Test-NaCifs


Get the status of the CIFS service.


started



RELATED LINKS
Get-NaCifs
Enable-NaCifs
Disable-NaCifs







 Data ONTAP® PowerShell Toolkit