This is an archive version of the document. To get the most up-to-date information, see the current version.

Set-VBRvCDIndividualObjectStoragePolicy

Short Description

Modifying the vCD storage policies for vApps or VMs.

Applies to

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

Syntax

This cmdlet provides cmdlet sets that allow you to:

  • Modify the vApp storage policies.

Set-VBRvCDIndividualObjectStoragePolicy -Policy <VBRvCDIndividualObjectStoragePolicy> [-VApp <CVcdVappItem>] [-StoragePolicy <CVcdOrgVdcStorageProfile>]  [<CommonParameters>]

  • Modify the VM storage policies.

Set-VBRvCDIndividualObjectStoragePolicy -Policy <VBRvCDIndividualObjectStoragePolicy> [-VM <CVcdVappItem>] [-StoragePolicy <CVcdOrgVdcStorageProfile>]  [<CommonParameters>]

Detailed Description

This cmdlet modifies the vCD storage policies for vApps or VMs.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Policy

Specifies the  vCD storage policies for vApps or VMs. The cmdlet will modify this policy.

Accepts the VBRvCDIndividualObjectStoragePolicy object. To create this object, run the New-VBRvCDIndividualObjectStoragePolicy cmdlet.

True

Named

True (ByValue, ByPropertyName)

VApp

Specifies the vApp for which you want to modify a storage policy.

Accepts the CVcdVappItem object. To get this object, run the Find-VBRvCloudEntity cmdlet.

False

Named

False

VM

Specifies the VM for which you want to modify a storage policy.

Accepts the CVcdVappItem object. To get this object, run the Find-VBRvCloudEntity cmdlet.

False

Named

False

StoragePolicy

Specifies the storage policy. The cmdlet will modify a storage policy according to this policy settings.

Accepts the CVcdOrgVdcStorageProfile object. To get this object, run the Find-VBRvCloudEntity cmdlet.

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

The cmdlet returns the VBRvCDIndividualObjectStoragePolicy object that defines the settings of vCD storage policies for vApps or VMs.

Examples

Set-VBRvCDIndividualObjectStoragePolicyExample 1. Modifying VApp Storage Policy

Set-VBRvCDIndividualObjectStoragePolicyExample 2. Modifying VM Storage Policy

Related Commands