Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Remove-VBRCloudHardwarePlan

Short Description

Removes hardware plans.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

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 (by Value
FromPipeline, ValueFromPipeline
ByPropertyName)

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 about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

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.

PS C:\PS> $hardwareplans = Get-VBRCloudHardwarePlan -Name "VMware Silver", "VMware Gold"

PS C:\PS> 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.

PS C:\PS> 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.

PS C:\PS> Get-VBRCloudHardwarePlan -Platform VMware | Remove-VBRCloudHardwarePlan

Related Commands

Get-VBRCloudHardwarePlan

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Backup Explorers User Guide

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Endpoint Backup Documentation

Veeam Management Pack Documentation