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
Example 1. Modifying VApp Storage Policy
This example shows how to apply the Virginia vApp policy for the Atlanta05 policy
Perform the following steps:
|
Example 2. Modifying VM Storage Policy
This example shows how to apply the Virginia vApp policy for the Admin05 VM.
Perform the following steps:
|
Related Commands