Data ONTAP® PowerShell Toolkit

Cmdlet: Invoke-NaSnapmirrorAbort


NAME
Invoke-NaSnapmirrorAbort

SYNOPSIS
Cancels any transfer for a destination.

SYNTAX
Invoke-NaSnapmirrorAbort [-Destination] <String> [-Controller <NaController>
] [-ClearCheckpoint] [-WarningAction <ActionPreference>] [-WarningVariable <
String>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Cancels any transfer for a destination. The API can be issued from either t
he source or destination filer.


PARAMETERS
-Destination <String>
The destination location of the transfer to abort. The destination loca
tion is of the volume form: <filer>:<volume> or the qtree form: <filer>:
/vol/<volume>/<qtree>.

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

-ClearCheckpoint
If true, the restart checkpoint is cleared. The default is false, not c
leared.

Required? false
Position? named
Default value false
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

-WhatIf


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

-Confirm


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.SnapmirrorStatusInfo


NOTES


Category: snapmirror
API: snapmirror-abort

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

C:\PS>Get-NaSnapmirror | Invoke-NaSnapmirrorAbort


Abort all Snapmirror transfers.


BaseSnapshot :
Contents : -
CurrentTransferError : replication transfer failed to complete
CurrentTransferType : initialize
DestinationLocation : benson:dunn_vol2_mirror
LagTime : 0
LastTransferDuration : 0
LastTransferFrom : -
LastTransferSize : 0
LastTransferType :
MirrorTimestamp : 0
SourceLocation : dunn:vol2
State : uninitialized
Status : idle with restart checkpoint
TransferProgress : 20048540



RELATED LINKS
Get-NaSnapmirror







 Data ONTAP® PowerShell Toolkit