--- title: "Get-VESQLPluginLogInterval" description: "Returns details on the available restore period for a database backed up with Veeam Plug-in for Microsoft SQL Server. Product: Veeam Backup & Replication Product Edition: Enterprise Plus, Veeam Universal License This cmdlet returns details on the ava" canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/get-vesqlpluginloginterval.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Microsoft SQL Server > Get-VESQLPluginLogInterval" dateModified: "2026-08-20" --- # Get-VESQLPluginLogInterval ## Short Description Returns details on the available restore period for a database backed up with Veeam Plug-in for Microsoft SQL Server. **Product**: Veeam Backup & Replication **Product Edition**: Enterprise Plus, Veeam Universal License ## Syntax ``` Get-VESQLPluginLogInterval [-RestorePoint] [] ``` ## Detailed Description This cmdlet returns details on the available restore period within a restore point of a database backed up with Veeam Plug-in for Microsoft SQL Server. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

RestorePoint

Specifies restore point of a database backed up with Veeam Plug-in for Microsoft SQL Server. The cmdlet will return details on the available restore period within the restore point.

Accepts the VESQLPluginRestorePoint object. To get this object, run the Get-VESQLPluginRestorePoint cmdlet.

VESQLPluginRestorePoint

True

0

True (ByValue)

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Learn. ## Output Object The cmdlet returns the [`VESQLPluginLogInterval`](vesqlpluginloginterval.md) object that contains details on the available restore period for a database backed up with Veeam Plug-in for Microsoft SQL Server. ## Examples ::: example ### Getting Details on Available Restore Period for Microsoft SQL Server Database This example shows how to get details on an available restore period for a database backed up with Veeam Plug-in for Microsoft SQL Server. ``` $session = Get-VESQLPluginRestoreSession $database = Get-VESQLPluginDatabase -Session $session[0] -Name "SQLDatabase" $restorepoint = Get-VESQLPluginRestorePoint -Database $database Get-VESQLPluginLogInterval -RestorePoint $restorepoint ``` Perform the following steps: 1. Run the [`Get-VESQLPluginRestoreSession`](get-vesqlpluginrestoresession.md) cmdlet. Save the result to the `$session` variable. The cmdlet will return an array of active restore sessions. Note the ordinal number of the necessary restore session (in this example, it is the first restore session in the array). 2. Run the [`Get-VESQLPluginDatabase`](get-vesqlplugindatabase.md) cmdlet. Set the `$session` variable as the `Session` parameter value and select the necessary restore session. Specify the `Name` parameter value. Save the result to the `$database` variable. 3. Run the [`Get-VESQLPluginRestorePoint`](get-vesqlpluginrestorepoint.md) cmdlet. Set the `$database` variable as the `Database` parameter value. Save the result to the `$restorepoint` variable. 4. Run the `Get-VESQLPluginLogInterval` cmdlet. Set the `$restorepoint` variable as the `RestorePoint` parameter value. ::: ## Related Commands - [`Get-VESQLPluginRestoreSession`](get-vesqlpluginrestoresession.md) - [`Get-VESQLPluginDatabase`](get-vesqlplugindatabase.md) - [`Get-VESQLPluginRestorePoint`](get-vesqlpluginrestorepoint.md)