Enable-VBRCDPPolicy

In this article

    Short Description

    Enables CDP policies that were disabled.

    Applies to

    Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

    Syntax

    Enable-VBRCDPPolicy -Policy <VBRCDPPolicy[]> [-Force] [-WhatIf] [-Confirm]  [<CommonParameters>]

    Detailed Description

    This cmdlet enables CDP policies that were disabled.

    Run the Disable-VBRCDPPolicy cmdlet to disable CDP policies.

    Parameters

    Parameter

    Description

    Type

    Required

    Position

    Accept Pipeline Input

    Policy

    Specifies an array of CDP policies.The cmdlet will enable these policies.

    Accepts the VBRCDPPolicy[] object. To get this object, run the Get-VBRCDPPolicy cmdlet.

    True

    Named

    True (ByValue, ByPropertyName)

    Force

    Defines that the cmdlet will undo a failover for a CDP replica without showing warnings in the PowerShell console.

    SwitchParameter

    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.

    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 the About CommonParameters section of Microsoft Docs.

    Output Object

    None.

    Examples

    Enabling CDP Policies

    This example shows how to enable CDP policies.

    $policy = Get-VBRCDPPolicy

    Enable-VBRCDPProxy -Policy $policy

    Perform the following steps:

    1. Run the Get-VBRCDPPolicy cmdlet. Save the result to the $policy variable.
    2. Run the Enable-VBRCDPProxy cmdlet. Set the $policy variable as the Policy parameter value.

    Related Commands

    Get-VBRCDPPolicy