Help Center
Choose product document...
Veeam Backup & Replication 9.5 Update 4
Veeam Explorers PowerShell Reference

Get-VESPDatabase

Short Description

Returns backed-up Microsoft SharePoint databases.

Applies to: Veeam Backup & Replication

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

Get-VESPDatabase [-Session] <VBRSharePointRestoreSession> [[-Name] <string[]>]  [<CommonParameters>]

Detailed Description

This cmdlet returns an array of backed up Microsoft SharePoint databases.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

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.

True

0

True (ByValue)

False

Name

Specifies an array of names for Microsoft SharePoint.databases.

False

1

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Return Type

VESPDatabase[]

Example 1

This example shows how to get a list of Microsoft SharePoint databases.

  1. Run the Get-VBRSharePointItemRestoreSession cmdlet to get the restore session. Save the result to the $session variable.
  2. Run the Get-VESPDatabase cmdlet with the $session variable.

$session = Get-VBRSharePointItemRestoreSession

Get-VESPDatabase -Session $session

Example 2

This example shows how to get the DocArchive06_AuditorDB.mdf Microsoft SharePoint database.

  1. Run the Get-VBRSharePointItemRestoreSession cmdlet to get the restore session. Save the result to the $session variable.
  2. Run the Get-VESPDatabase cmdlet with the $session variable. Use the Name parameter to specify the name of the database that you want to get.

$session = Get-VBRSharePointItemRestoreSession

Get-VESPDatabase -Session $session -Name "DocArchive06_AuditorDB.mdf"

Related Commands

Get-VBRSharePointItemRestoreSession

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Explorers User Guide

Backup and Restore of SQL Server Databases

Veeam Plug-ins for Enterprise Applications

PowerShell Reference

Veeam Explorers PowerShell Reference

RESTful API Reference

Required Permissions

Veeam Availability for Nutanix AHV

Veeam Backup for Microsoft Office 365 Documentation

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation