Reset-VBRProtectionGroupCertificate
Short Description
Removes a certificate associated with a protection group with a flexible scope.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Reset-VBRProtectionGroupCertificate -ProtectionGroup <VBRProtectionGroup[]> [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet removes a certificate associated with a protection group with a flexible scope.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
ProtectionGroup | Specifies an array of protection groups for which you want to remove certificates. | Accepts the VBRProtectionGroup[] object. To create this object, run the Get-VBRProtectionGroup cmdlet. | True | Named | True(ByValue, ByPropertyName) |
WhatIf | Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. | SwitchParameter | False | Named | False |
Confirm | Defines that the cmdlet will display a prompt that asks if you want to continue running the command. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Removing Certificate Associated with Specific Protection Groups
This example shows how to remove a certificate associated with the LinuxPG, macOSPG protection groups with a flexible scope.
$protectiongroup = Get-VBRProtectionGroup -Name "LinuxPG, macOSPG" Reset-VBRProtectionGroupCertificate -ProtectionGroup $protectiongroup |
Perform the following steps:
- Run the Get-VBRProtectionGroup cmdlet. Specify the Name parameter value. Save the result to the $protectiongroup variable.
- Run the Reset-VBRProtectionGroupCertificate cmdlet. Set the $protectiongroup variable as the ProtectionGroup parameter value.
Related Commands