Set-VBRHvServerVolume
Short Description
Modifies volume-specific settings for Microsoft Hyper-V hosts.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Set-VBRHvServerVolume -Volume <VBRHvServerVolumeObject[]> [-VSSProvider <VSSProviderObject>] [-MaxSnapshots <int>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies volume-specific settings for Microsoft Hyper-V hosts.
Note |
To modify settings, specify new values for the necessary parameters. The cmdlet will overwrite the previous parameter values with new values. The parameters that you omit will remain unchanged. |
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Volume | Specifies an array of volume-specific settings for Microsoft Hyper-V hosts. The cmdlet will modify these settings. | Accepts the VBRHvServerVolumeObject[] object. To create this object, run the Get-VBRHvServerVolume cmdlet. | True | Named | True (ByValue, ByPropertyName) |
VSSProvider | Specifies the VSS provider for a volume. The cmdlet will set this VSS provider to take a VSS snapshot of the volume. | Accepts the VSSProviderObject object. To create this object, run the Get-VBRHvVssProvider cmdlet. | False | Named | True (ByValue, ByPropertyName) |
MaxSnapshots | Specifies a number of snapshots that you can store simultaneously for one volume. The cmdlet will set the specified number of snapshots for the volume. | Int32 | False | Named | True (ByValue, ByPropertyName) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRHvServerVolume object that contains volume-specific settings for Microsoft Hyper-V hosts.
Examples
Example 1. Modifying VSS Provider Settings
This example shows how to modify volume-specific settings and set a VSS provider for a volume located on the Microsoft Hyper-V host. Veeam Backup & Replication will use the Microsoft File Share Shadow Copy provider to create VSS snapshots of the volume.
Perform the following steps:
|
Example 2. Modifying Number of Snapshots
This example shows how to modify volume-specific settings and set a number of snapshots that you can store simultaneously on one volume. Veeam Backup & Replication will store a maximum 3 snapshots on the volume.
Perform the following steps:
|
Related Commands