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

Set-VBRHvCloudHWPlanDatastore

Short Description

Modifies Hyper-V cloud storages for tenants replication resources.

Applies to

Platform: Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus

Requires a VCP license.

Syntax

Set-VBRHvCloudHWPlanDatastore -CloudDatastore <VBRHvCloudHardwarePlanDatastore> [-DatastorePath <string>] [-FriendlyName <string>] [-Quota <int>] [<CommonParameters>]

Detailed Description

This cmdlet modifies the settings of a selected cloud storage in an existing hardware plan.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

CloudDatastore

Specifies the cloud datastore you want to modify.

Accepts VBRHvCloudHardwarePlanDatastore type.

True

Named

True (ByValue,
ByProperty
Name)

False

DatastorePath

Specifies the path to the folder on the cloud provider host that is used in the hardware plan. This folder will be used to provide the storage space to a tenant under a hardware plan.

False

Named

False

False

FriendlyName

Specifies the name of the storage that will be displayed to the tenant.

False

Named

False

False

Quota

Specifies the amount of disk space you want to provide to a tenant under a hardware plan (Gb).

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.

Example

This example shows how to modify cloud storage settings of an existing hardware plan.

You will need to perform the following steps:

  1. Run Get-VBRCloudHardwarePlan to get the existing hardware plan. Save the result to the $plan variable.
  2. Get the cloud storages of an existing hardware plan. Use the Datastore property of the VBRHvCloudHardwarePlan object saved to the $plan variable. Save each cloud storage to a separate variable: $d1, $d2, etc.
  3. Run Set-VBRHvCloudHWPlanDatastore with the $d1 variable to modify the cloud storage settings. Save the result to the $d1new variable.
  4. Run Set-VBRHvCloudHardwarePlan with the $d1new, $d2, etc. variables to assign cloud storages to an existing hardware plan.

PS C:\PS> $plan = Get-VBRCloudHardwarePlan

PS C:\PS> $d1 = $plan.datastore | Where-Object {$_.FriendlyName -eq "Cloud Replicas ABC"}

PS C:\PS> $d2 = $plan.datastore | Where-Object {$_.FriendlyName -eq "Cloud Replicas North"}

PS C:\PS> $d1new = Set-VBRHvCloudHWPlanDatastore -CloudDatastore $d1 -FriendlyName "Cloud Replicas ABC Exte

nded" -Quota 950

PS C:\PS> Set-VBRHvCloudHardwarePlan -HardwarePlan $plan -Datastore $d1new, $d2

Related Commands

Get-VBRCloudDatastore

Get-VBRCloudHardwarePlan

Set-VBRHvCloudHardwarePlan

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 Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation