Data ONTAP® PowerShell Toolkit

Cmdlet: Clear-NaClone


NAME
Clear-NaClone

SYNOPSIS
Clears information of a failed clone operation.

SYNTAX
Clear-NaClone [[-VolumeUuid] <String>] [[-CloneId] <Decimal>] [-Controller <
NaController>] [-WarningAction <ActionPreference>] [-WarningVariable <String
>] [<CommonParameters>]

Clear-NaClone [-OpsInfo] <OpsInfo> [-Controller <NaController>] [-WarningAct
ion <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]


DESCRIPTION
Clears information of a failed clone operation. If not successful, the error
code will be returned as API error.


PARAMETERS
-VolumeUuid <String>
UUID of volume on which this clone exists. If a volume object is passed
in via the pipeline, this cmdlet can use its Uuid value.

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

-CloneId <Decimal>
Unique ID information of the clone operation, as returned by Get-NaClone
or Start-NaClone.

Required? false
Position? 2
Default value
Accept pipeline input? true (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

-OpsInfo <OpsInfo>
Alternate parameter for specifying a clone operation, as returned by Get
-NaClone or Start-NaClone.

Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
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



NOTES


Category: clone
API: clone-clear

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

C:\PS>Clear-NaClone (Get-NaVol vol2).Uuid 19


Clear failed clone information for clone ID 19 on volume 'vol2'.






RELATED LINKS
Get-NaClone
Start-NaClone
Stop-NaClone







 Data ONTAP® PowerShell Toolkit