--- title: "Set-VBRImmutabilityLockExpirationDate" description: "Modifies immutability period of restore points located in a hardened repository. This cmdlet does not support the following types of restore points: Restore points created by unstructured data source jobs." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/set-vbrimmutabilitylockexpirationdate.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Backup Infrastructure > Backup Repositories > Set-VBRImmutabilityLockExpirationDate" dateModified: "2026-08-19" --- # Set-VBRImmutabilityLockExpirationDate ## Short Description Modifies immutability period of restore points located in a hardened repository. ::: important This cmdlet does not support the following types of restore points: - Restore points created by [unstructured data source jobs](working_unstructured_source.md). - Restore points created by [application backup policies](plugin_management.md). - Restore points for transaction logs. ::: **Platform**: VMware, Hyper-V **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets: ## Detailed Description This cmdlet modifies immutability period of restore points located in a hardened repository. ::: 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. ::: ::: important It is not possible to reduce immutability via PowerShell commands. After you set the value, you can either extend it or reset back to the original value. However, you cannot set it to a smaller value than was originally set. ::: ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ExpirationDate

Specifies a date when Veeam Backup & Replication is allowed to remove restore points from a hardened repository with immutability.

DateTime

True

Named

False

RestorePoint

Specifies a restore point from a backup chain. The cmdlet modifies the immutability period for the specified restore point and propagates the new value across the active backup chain.

Accepts the COib[] object. To create this object, run the Get-VBRRestorePoint cmdlet.

COib[]

True

0

True (ByPropertyName, ByValue)

ToOriginal

Defines that the cmdlet will reset the immutability period of restore points to their original value. If you provide this value, the cmdlet will set the immutability to the maximum time period that is available for the hardened repository.

Default: False.

SwitchParameter

True

Named

False

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object The cmdlet returns the `VBRImmutabilityLockExpirationDate` object that contains immutability period of of restore points located in hardened repository with immutability. ## Examples ::: example ### Example 1. Extending Immutability Period of the Latest Restore Point in a Chain This example shows how to change the immutability lock expiration date for the most recent incremental restore point in a backup chain. The cmdlet applies the new expiration date to the whole active chain that contains this restore point. ``` $backup = Get-VBRBackup -Name "example backup" $rp = Get-VBRRestorePoint -Backup $backup $date = Get-Date -Year 2023 -Month 2 -Day 3 -Hour 0 -Minute 0 -Second Set-VBRImmutabilityLockExpirationDate -RestorePoint $rp[-1] -ExpirationDate $date ``` Perform the following steps: 1. Run the [`Get-VBRBackup`](get-vbrbackup.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$backup` variable. 2. Run the [`Get-VBRRestorePoint`](get-vbrrestorepoint.md) cmdlet. Specify the `$backup` variable as the `Backup` parameter value. Save the result to the `$rp` variable. 3. Run the [`Get-Date`](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-date?view=powershell-7.1) cmdlet. Specify the `Year`, `Month`, `Day`, `Hour`, `Minute` and `Second` parameter values. Save the result to the `$date` variable. 4. Run the `Set-VBRImmutabilityLockExpirationDate` cmdlet. Specify `$rp[-1]` as the `RestorePoint` parameter value. Specify the `$date` variable as the `ExpirationDate` parameter value. ::: ::: example ### Example 2. Resetting Immutability Period of Restore Points This examples shows how to reset immutability period of restore points. The cmdlet will set the immutability to the time period that was originally specified for the hardened repository. ``` $restorepoint = Get-VBRRestorePoint Set-VBRImmutabilityLockExpirationDate -RestorePoint $restorepoint -ToOriginal ``` Perform the following steps: 1. Run the [`Get-VBRRestorePoint`](get-vbrrestorepoint.md) cmdlet. Save the result to the `$restorepoint` variable. 2. Run the `Set-VBRImmutabilityLockExpirationDate` cmdlet. Set the `$restorepoint` variable as the `RestorePoint` parameter value. Provide the `ToOriginal` parameter. ::: ## Related Commands - [`Get-VBRRestorePoint`](get-vbrrestorepoint.md) - [`Get-Date`](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/get-date?view=powershell-7.1)