Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP Cluster-mode documentation.

Cmdlet: Remove-NaConsistencyGroup


NAME
Remove-NaConsistencyGroup

SYNOPSIS
Deletes the snaps associated with a consistency group checkpoint in this con
troller.

SYNTAX
Remove-NaConsistencyGroup [-Snapshot] <String> [-Volumes] <String[]> [-Contr
oller <NaController>] [-WhatIf] [-Confirm] [<CommonParameters>]


DESCRIPTION
Deletes the snaps associated with a consistency group checkpoint in this con
troller.


PARAMETERS
-Snapshot <String>
The name of the snapshot that is deleted in each volume.

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

-Volumes <String[]>
A list of volumes in this controller that is part of this consistency gr
oup operation.

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

-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



NOTES


Category: consistency group
API: cg-delete

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

C:\PS>Remove-NaConsistencyGroup cg_snapshot vol1,vol2


Remove the consistency group snapshots named 'cg_snapshot' from volumes 'vol
1' and 'vol2'.






RELATED LINKS
New-NaConsistencyGroup
Save-NaConsistencyGroup







 Data ONTAP® PowerShell Toolkit