Remove-DPMPGSet
Deletes a protection group set.
Syntax
Default (Default)
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.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-PGSet
Specifies the protection group set that this cmdlet deletes. To obtain a protection group set object, use the Get-DPMPGSet cmdlet.
Parameter properties
Type: | PGSet |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Parameter properties
Type: | SwitchParameter |
Default value: | False |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.