Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Test-NaSnapmirror


NAME
Test-NaSnapmirror

SYNOPSIS
Returns true if Snapmirror is available and enabled, false otherwise.

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


DESCRIPTION
Returns true if Snapmirror is available and enabled, false otherwise.


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: snapmirror
API: snapmirror-get-status

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

C:\PS>Test-NaSnapmirror


Checks whether Snapmirror is available and enabled on the current controller
.


True



RELATED LINKS
Enable-NaSnapmirror







 Data ONTAP® PowerShell Toolkit