Data ONTAP® PowerShell Toolkit

Cmdlet: Test-NaSnapmirrorVolume


NAME
Test-NaSnapmirrorVolume

SYNOPSIS
Return SnapMirror status values for a given volume.

SYNTAX
Test-NaSnapmirrorVolume [-Volume] <String> [-Controller <NaController>] [-Wa
rningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParamete
rs>]


DESCRIPTION
Return SnapMirror status values for a given volume. All of the status values
are returned simultaneously.


PARAMETERS
-Volume <String>
Name of the volume to be queried.

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

-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

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

-WarningAction <ActionPreference>


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

-WarningVariable <String>


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.Collections.Hashtable


NOTES


Category: snapmirror
API: snapmirror-get-volume-status

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

C:\PS>Test-NaSnapmirror vol2


Check whether volume 'vol2' is involved in a Snapmirror relationship.


Name Value
---- -----
IsDestination False
IsSource True
IsTransferInProgress True
Volume vol2
IsTransferBroken False



RELATED LINKS
Test-NaSnapmirror







 Data ONTAP® PowerShell Toolkit