Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Test-NaIscsi


NAME
Test-NaIscsi

SYNOPSIS
Get status of the iSCSI service, whether or not it is running.

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


DESCRIPTION
Get status of the iSCSI service, whether or not it 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
System.Boolean


NOTES


Category: iscsi
API: iscsi-service-status

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

C:\PS>Test-NaIscsi


Check whether the iSCSI service is running.


True



RELATED LINKS
Enable-NaIscsi
Disable-NaIscsi







 Data ONTAP® PowerShell Toolkit