NAME
Remove-DcsSnapshotGroup
SYNOPSIS
Removes a snapshot group from the configuration.
SYNTAX
Remove-DcsSnapshotGroup -SnapshotGroup <Object> [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Removes a snapshot group from the configuration. When removed, the snapshot data from the snapshot group is permanently destroyed and the snapshots from the group will no longer exist.
PARAMETERS
- -SnapshotGroup<Object>
- SnapshotGroupData object, name or ID that identifies a snapshot group to remove.
-
- Required: true
- Position: named
- Default value:
- Accept pipeline input: true (ByValue)
- Accept wildcard characters: false
-
- -Connection<String>
- Alias of the connection to the server group. If not specified, the default connection is used.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -PipelineVariable<String>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
INPUTS
SnapshotGroupData : Object that identifies and describes the snapshot group.
OUTPUTS
NOTES
Also see Get-DcsSnapshotGroup.
EXAMPLES
Remove-DcsSnapshotGroup -SnapshotGroup "Virtual disk group 2 @ 3/21/2012 2:28:34 PM"
The cmdlet is invoked with the SnapshotGroup parameter specified as "Virtual disk group 2 @ 3/21/2012 2:28:34 PM" resulting in the removal of that snapshot group.
Get-DcsSnapshotGroup | Remove-DcsSnapshotGroup
The cmdlet Get-DcsSnapshotGroup is invoked without parameters to get all SnapshotGroupData objects in the local server group. The results are piped to the cmdlet Remove-DcsSnapshotGroup to remove all snapshot groups.