Remove-DPMPGSet
删除保护组集。
语法
Remove-DPMPGSet
[-PGSet] <PGSet>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
说明
Remove-DPMPGSet cmdlet 删除 System Center 2019 - Data Protection Manager (DPM) 保护组集。 DPM 保护组集是你在同一磁带上并置的保护组的集合。
示例
示例 1:删除保护组集
PS C:\>$PGSet = Get-DPMPGSet -DPMServerName "DPMServer07"
PS C:\> Remove-DPMPGSet -PGSet $PGSet[0]
第一个命令使用 Get-DPMPGSet cmdlet 获取指定服务器的保护组集,然后将其存储在$PGSet变量中。
第二个命令使用标准数组表示法指定$PGSet的第一个成员。 该命令删除该保护组集。
参数
-Confirm
提示你在运行 cmdlet 之前进行确认。
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-PGSet
指定此 cmdlet 删除的保护组集。 若要获取保护组集对象,请使用 Get-DPMPGSet cmdlet。
Type: | PGSet |
Position: | 1 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
显示在此 cmdlet 运行的情况下将会发生什么。 此 cmdlet 未运行。
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |