Remove-VBRCloudHardwarePlan

In this article

    Short Description

    Removes hardware plans.

    Applies to

    Platform: VMware, Hyper-V

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

    Requires a VCP license.

    Syntax

    Remove-VBRCloudHardwarePlan -HardwarePlan <VBRCloudHardwarePlan[]> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

    Detailed Description

    This cmdlet removes a selected hardware plan.

    Parameters

    Parameter

    Description

    Required

    Position

    Accept
    Pipeline
    Input

    Accept
    Wildcard
    Characters

    HardwarePlan

    Specifies the array of hardware plans you want to remove.

    Accepts VBRViCloudHardwarePlan or VBRHvCloudHardwarePlan type.

    True

    Named

    True (ByValue,
    ByProperty
    Name)

    False

    Force

    If set, the cmdlet will remove the hardware plan without notifying the user. Otherwise, the cmdlet will display a warning.

    False

    Named

    False

    False

    WhatIf

    Specifies whether the cmdlet writes a message that describes the effects of running the cmdlet without actually performing any action.

    False

    Named

    False

    False

    Confirm

    Specifies whether the cmdlet displays a prompt that asks if the tenant is sure that they want to continue.

    False

    Named

    False

    False

    <CommonParameters>

    This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

    Return Type

    None

    Example 1

    This example shows how to remove 2 hardware plans named "VMware Silver" and "VMware Gold" using a variable.

    1. Run Get-VBRCloudHardwarePlan to get the hardware plans and save them to the $hardwareplans variable.
    2. Run Remove-VBRCloudHardwarePlan using the $hardwareplans variable.

    $hardwareplans = Get-VBRCloudHardwarePlan -Name "VMware Silver", "VMware Gold"

    Remove-VBRCloudHardwarePlan -HardwarePlan $hardwareplans

    Example 2

    This command removes a hardware plan named "Hyper-V Silver" using a pipeline.

    Run Get-VBRCloudHardwarePlan to get the hardware plan. Pass the result to the Remove-VBRCloudHardwarePlan.

    Get-VBRCloudHardwarePlan -Name "Hyper-V Silver" | Remove-VBRCloudHardwarePlan

    Example 3

    This command removes all VMware hardware plans using a pipeline.

    Run Get-VBRCloudHardwarePlan to get the hardware plan. Pass the result to the Remove-VBRCloudHardwarePlan.

    Get-VBRCloudHardwarePlan -Platform VMware | Remove-VBRCloudHardwarePlan

    Related Commands

    Get-VBRCloudHardwarePlan