Data ONTAP® PowerShell Toolkit

Switch to clustered Data ONTAP documentation.

Cmdlet: Stop-NaCopyOffload


NAME
Stop-NaCopyOffload

SYNOPSIS
Abort an on-going copyoffload-copy-file request.

SYNTAX
Stop-NaCopyOffload [-CopyId] <String> [-Controller <NaController>] [<CommonP
arameters>]


DESCRIPTION
Abort an on-going copyoffload-copy-file request. Returns the number of byte
s that were copied before the operation was aborted. The caller should reis
sue the copy operation request to either reattempt the copy or to restore th
e destination to its previous content.


PARAMETERS
-CopyId <String>
Unique identifier for an on-going copy operation.

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

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


NOTES


Category: copyoffload
API: copyoffload-copy-abort

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

C:\PS>Stop-NaCopyOffload ada4e460-3cfe-11e0-adb2-00a09826e442


Stops the copy offload operation with the id ada4e460-3cfe-11e0-adb2-00a0982
6e442.


15859713



RELATED LINKS
Start-NaCopyOffload
Get-NaCopyOffload







 Data ONTAP® PowerShell Toolkit