Reset-VBRProtectionGroupCertificate
Short Description
Removes a certificate associated with a protection group with a flexible scope.
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 |
True |
Named |
True (ByPropertyName, ByValue) |
|
|
Confirm |
Defines that the cmdlet will display a prompt that asks if you want to continue running the command. |
|
False |
Named |
False |
|
WhatIf |
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
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-VBRProtectionGroupReturns protection groups. cmdlet. Specify theNameparameter value. Save the result to the$protectiongroupvariable. - Run the
Reset-VBRProtectionGroupCertificatecmdlet. Set the$protectiongroupvariable as theProtectionGroupparameter value.
Related Commands
Get-VBRProtectionGroupReturns protection groups.