Enable-VBRCDPPolicy
Short Description
Enables CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Enable-VBRCDPPolicy -Policy <VBRCDPPolicyBase[]> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>] |
Detailed Description
This cmdlet enables CDP policies that were disabled.
Run the Disable-VBRCDPPolicyDisables CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on. cmdlet to disable policies.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Force |
Defines that the cmdlet will enable policy without showing warnings in the PowerShell console. |
|
False |
Named |
False |
|
Policy |
Specifies an array of CDP policies.The cmdlet will enable these policies.
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
Enabling CDP Policies
This example shows how to enable CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.
|
$policy = Get-VBRCDPPolicy Enable-VBRCDPPolicy -Policy $policy |
Perform the following steps:
- Run the
Get-VBRCDPPolicyReturns CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on. cmdlet. Save the result to the$policyvariable. - Run the
Enable-VBRCDPPolicycmdlet. Set the$policyvariable as thePolicyparameter value.
Related Commands
Get-VBRCDPPolicyReturns CDP policies including Cloud Director CDP policies, CDP policies, cloud CDP policies and so on.