NAME
Remove-DcsVirtualDiskGroup
SYNOPSIS
Deletes a virtual disk group.
SYNTAX
Remove-DcsVirtualDiskGroup -Group <Object> [ -Connection <String> ] [ -PipelineVariable <String> ]
DESCRIPTION
Deletes a virtual disk group. This operation also deletes any snapshot groups and rollback groups in the virtual disk group resulting in the permanent deletion of the snapshot and rollback data. The virtual disks that are Members of the virtual disk group are not deleted; they are only removed from the virtual disk group.
PARAMETERS
- -Group<Object>
- VirtualDiskGroupData object, name or ID that identifies the virtual disk 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
VirtualDiskGroupData : Object that identifies and describes the group.
OUTPUTS
NOTES
Also see Get-DcsVirtualDiskGroup, Add-DcsVirtualDiskGroup, Add-DcsVirtualDiskToGroup, Remove-DcsVirtualDiskFromGroup, Remove-DcsSnapshotGroup, Remove-DcsRollbackGroup.
EXAMPLES
Remove-DcsVirtualDiskGroup -Group "Virtual disk group 1" -Connection SSVVM1Connect
The virtual disk group named "Virtual disk group 1" is removed from the configuration.
Get-DcsVirtualDiskGroup | Remove-DcsVirtualDiskGroup
The cmdlet Get-DcsVirtualDiskGroup is invoked without parameters to get all VirtualDiskGroupData objects in the local server group. The results are piped to the cmdlet Remove-DcsVirtualDiskGroup to removed all groups.