--- title: "Get-VESPDatabase" description: "Returns backed-up Microsoft SharePoint databases. Product: Veeam Backup & Replication Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet returns an array of backed-up Microsoft SharePoint databa" canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/get-vespdatabase.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Microsoft SharePoint > Get-VESPDatabase" dateModified: "2026-08-18" --- # Get-VESPDatabase ## Short Description Returns backed-up Microsoft SharePoint databases. **Product**: Veeam Backup & Replication **Product Edition**: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Get-VESPDatabase [-Session] [[-Name] ] [] ``` ## Detailed Description This cmdlet returns an array of backed-up Microsoft SharePoint databases. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Name

Specifies an array of names for Microsoft SharePoint databases. The cmdlet will return an array of Microsoft SharePoint databases with those names.

This parameter accepts wildcard characters.

String[]

False

1

False

Session

Specifies a restore session started to perform operations with Microsoft SharePoint databases.

The cmdlet will return an array of Microsoft SharePoint databases that are available for restore within this session.

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

VBRSharePointRestoreSession

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 Docs. ## Output Object The cmdlet returns the [`VESPDatabase`](vespdatabase.md)`[]` array that contains backed-up Microsoft SharePoint databases. ## Examples ::: example ### Example 1. Getting List of Microsoft SharePoint Databases This example shows how to get a list of Microsoft SharePoint databases. ``` $session = Get-VBRSharePointItemRestoreSession Get-VESPDatabase -Session $session ``` Perform the following steps: 1. Run the [`Get-VBRSharePointItemRestoreSession`](get-vbrsharepointitemrestoresession.md) cmdlet. Save the result to the `$session` variable. 2. Run the `Get-VESPDatabase` cmdlet. Set the `$session` variable as the `Session` parameter value. ::: ::: example ### Example 2. Getting Microsoft SharePoint Database by Name This example shows how to get the `DocArchive06_AuditorDB.mdf` Microsoft SharePoint database. ``` $session = Get-VBRSharePointItemRestoreSession Get-VESPDatabase -Session $session -Name "DocArchive06_AuditorDB.mdf" ``` Perform the following steps: 1. Run the [`Get-VBRSharePointItemRestoreSession`](get-vbrsharepointitemrestoresession.md) cmdlet. Save the result to the `$session` variable. 2. Run the `Get-VESPDatabase` cmdlet. Set the `$session` variable as the `Session` parameter value. Specify the `Name` parameter value. ::: ## Related Commands [`Get-VBRSharePointItemRestoreSession`](get-vbrsharepointitemrestoresession.md)