Data ONTAP® PowerShell Toolkit

Cmdlet: Get-NaSnapmirrorDestination


NAME
Get-NaSnapmirrorDestination

SYNOPSIS
Returns a list of destination locations and information about SnapMirror rel
ationships for given source locations, which can be a volume name or qtree p
ath.

SYNTAX
Get-NaSnapmirrorDestination [[-Source] <String>] [-Controller <NaController>
] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonPa
rameters>]


DESCRIPTION
Returns a list of destination locations and information about SnapMirror rel
ationships for given source locations, which can be a volume name or qtree p
ath. This API must be issued on the source filer.


PARAMETERS
-Source <String>
Source location of the SnapMirror pair. The source location is of the v
olume form: <filer>:<volume> or the qtree form: <filer>:/vol/<volume>/<q
tree>. If the source-location is not specified, then all source, destina
tion SnapMirror pairs are returned.

Required? false
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
NetApp.Ontapi.Filer.Snapmirror.DestinationInfo


NOTES


Category: snapmirror
API: snapmirror-list-destinations

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

C:\PS>Get-NaSnapmirrorDestination -Controller $dunn | Format-List


Get all SnapMirror relationships for which controller "$dunn" is the source.


DestinationLocation : benson:dunn_vol2_mirror
SourceLocation : dunn:vol2
SourceSnapshot : benson(0118045471)_dunn_vol2_mirror.1



RELATED LINKS
Get-NaSnapmirror







 Data ONTAP® PowerShell Toolkit