Set-VBODataRetrieval
Short Description
Modifies retrieval job settings.
Syntax
|
Set-VBODataRetrieval -DataRetrieval <VBODataRetrieval> [-Name <String>] [-Description <String>] [-AvailabilityPeriodDays <Int32>] [-EnableExpirationNotification] [-ExpirationHoursThreshold <Int32>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies settings of a retrieval job. To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
AvailabilityPeriodDays |
Specifies the number of days during which the retrieved backed-up data will be available to explore and restore using Veeam Explorers. Default: 1 |
|
False |
Named |
False |
|
DataRetrieval |
Specifies a retrieval job. The cmdlet will modify settings of this retrieval job.
Accepts the
To get this object, run the |
True |
Named |
True (ByValue) |
|
|
Description |
Specifies a description of the retrieval job. The cmdlet will replace the current description with the specified description. |
|
False |
Named |
False |
|
EnableExpirationNotification |
Defines that Veeam Backup for Microsoft 365 will notify you when the availability period is about to end. Default: False |
|
False |
Named |
False |
|
ExpirationHoursThreshold |
For the Specifies how many hours should remain before the retrieved backed-up data expires to send a notification by email. |
|
False |
Named |
False |
|
Name |
Specifies a new name of a retrieval job. The cmdlet will replace the current name with the specified name. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VBODataRetrieval object that contains settings for a retrieval job.
Examples
Changing Availability Period for Retrieved Data
This example shows how to change the availability period of the retrieved backed-up data and enable notification by email before the retrieved backed-up data expires.
|
$retrievaljob = Get-VBODataRetrieval -Id 3192dfc9-353f-468f-91b6-c66e5710c63f Set-VBODataRetrieval -DataRetrieval $retrievaljob -Name "ABC User Mailbox" -AvailabilityPeriodDays 5 -EnableExpirationNotification -ExpirationHoursThreshold 2 |
Perform the following steps:
- Run the
Get-VBODataRetrievalReturns retrieval jobs. cmdlet. Specify theIdparameter value. Save the result to the$retrievaljobvariable. - Run the
Set-VBODataRetrievalcmdlet. Specify the following settings:- Set the
$retrievaljobvariable as theDataRetrievalparameter value. - Specify the
Nameparameter value. - Set
5as theAvailabilityPeriodDaysparameter value. - Specify the
EnableExpirationNotificationparameter value. - Set
2as theExpirationHoursThresholdparameter value.
- Set the
Related Commands
Get-VBODataRetrievalReturns retrieval jobs.