NAME
Remove-DcsRollback
SYNOPSIS
Deletes the specified rollback. This operation can also be performed on a rollback group.
SYNTAX
Remove-DcsRollback -Rollback <Object> [ -Yes] [ -Connection <String> ] [ -PipelineVariable <String> ] [ -WhatIf] [ -Confirm]
DESCRIPTION
Deletes the specified rollback. This operation can also be performed on a rollback group. The rollbacks will no longer exist, but the CDP-enabled virtual disks that are the sources of the rollbacks are not deleted.
PARAMETERS
- -Rollback<Object>
- RollbackData object, name, or ID that identifies the rollback to remove.
-
- Required: true
- Position: 1
- Default value:
- Accept pipeline input: true (ByValue)
- Accept wildcard characters: false
-
- -Yes<SwitchParameter>
- Removing a rollback is an operation that requires confirmation. Specify this parameter to confirm your intention to remove the rollback and prevent user interaction during scripted scenarios. If this parameter is not specified, user interaction will be required.
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- 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
-
- -WhatIf<SwitchParameter>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
- -Confirm<SwitchParameter>
-
- Required: false
- Position: named
- Default value:
- Accept pipeline input: false
- Accept wildcard characters: false
-
INPUTS
RollbackData : Object that identifies and describes a rollback.
OUTPUTS
NOTES
Also see Get-DcsRollback, Split-DcsRollback, Disable-DcsDataProtection, Add-DcsRollback.
EXAMPLES
Remove-DcsRollback -Rollback "Virtual disk 3 @ 8/16/2011 10:10:20 AM on SSV1" -Yes
Removes the rollback named "Virtual disk 3 @ 8/16/2011 10:10:20 AM on SSV1" from the server group configuration. The Yes parameter is included to eliminate the need to confirm the operation.
Get-DcsRollback | Remove-DcsRollback -Yes
The cmdlet Get-DcsRollback is used to obtain the RollbackData objects for all rollbacks for the server group. The results are piped to Remove-DcsRollback resulting in the removal of all rollbacks from the server group configuration. The Yes parameter is included to eliminate the need to confirm the operation. (Rollbacks that are served to clients cannot be removed.)