Remove-DPMPGSet

Deletes a protection group set.

Syntax

Remove-DPMPGSet
      [-PGSet] <PGSet>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Remove-DPMPGSet cmdlet deletes a System Center - Data Protection Manager (DPM) protection group set. A DPM protection group set is a collection of protection groups that you collocate on the same tape.

Examples

Example 1: Remove a protection group set

PS C:\>$PGSet = Get-DPMPGSet -DPMServerName "DPMServer07"
PS C:\> Remove-DPMPGSet -PGSet $PGSet[0]

The first command uses the Get-DPMPGSet cmdlet to get the protection group sets for the specified server, and then stores them in the $PGSet variable.

The second command specifies the first member of $PGSet by using standard array notation. The command removes that protection group set.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-PGSet

Specifies the protection group set that this cmdlet deletes. To obtain a protection group set object, use the Get-DPMPGSet cmdlet.

Type:PGSet
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False