Removes CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Remove-VBRCDPPolicy -Policy <VBRCDPPolicyBase> [-WhatIf] [-Confirm] [<CommonParameters>]
This cmdlet removes CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.
Accept Pipeline Input
Specifies an array of the CDP policies that you want to remove.
Accepts the VBRCDPPolicyBase object. To get this object, run the Get-VBRCDPPolicy cmdlet.
True (ByValue, ByPropertyName)
Defines that the cmdlet will write a message that describes the effects of running the cmdlet without actually performing any action.
Defines that the cmdlet will display a prompt that asks if you want to continue running the command.
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Removing all Policies
This example shows how to remove all CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.
$policy = Get-VBRCDPPolicy
Remove-VBRCDPPolicy -Policy $policy
Perform the following steps:
- Run the Get-VBRCDPPolicy cmdlet. Save the result to the $policy variable.
- Run the Remove-VBRCDPPolicy cmdlet. Set the $policy variable as the Policy parameter value.