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

Get-VEXDatabase

Short Description

Returns mailbox databases.

Applies to

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

Get-VEXDatabase -Session <VBOExchangeRestoreSession> [-Name <string[]>]  [<CommonParameters>]

Detailed Description

This cmdlet returns mailbox databases that you want to use for restoring mailboxes, folders or items.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Session

Specifies an active restore session with a mailbox database state.

True

0

True (ByValue)

False

Name

Specifies the name of a mailbox database.

NOTE: for Veeam Backup for Microsoft Office 365 mailbox it specifies a name of the corresponding organization.

False

1

False

True

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Example 1

[For Veeam Backup for Microsoft Office 365] This example shows how to get mailbox databases for exploring and restoring mailbox items.

  1. Run Get-VBOExchangeItemRestoreSession to get an active restore session. Save the result to the $session variable.
  2. Run Get-VEXDatabase with the $session variable.

PS C:\PS> $session = Get-VBOExchangeItemRestoreSession

PS C:\PS> Get-VEXDatabase -Session $session

Example 2

[For Veeam Backup for Microsoft Office 365] This example shows how to get a specific mailbox database for exploring and restoring mailbox items.

  1. Run Get-VBOExchangeItemRestoreSession to get an active restore session. Save the result to the $session variable.
  2. Run Get-VEXDatabase with the $session variable. Use the Name parameter to specify the name of the mailbox database.

PS C:\PS> $session = Get-VBOExchangeItemRestoreSession

PS C:\PS> Get-VEXDatabase -Session $session -Name support3backup.onmicrosoft.com

Example 3

[For Veeam Backup & Replication] This example shows how to get mailbox databases for exploring and restoring mailbox items.

  1. Run Get-VBRExchangeItemRestoreSession to get an active restore session. Save the result to the $session variable.
  2. Run Get-VEXDatabase with the $session variable.

PS C:\PS> $session = Get-VBRExchangeItemRestoreSession

PS C:\PS> Get-VEXDatabase -Session $session

Example 4

[For Veeam Backup & Replication] This example shows how to get a specific mailbox database for exploring and restoring mailbox items.

  1. Run Get-VBRExchangeItemRestoreSession to get an active restore session. Save the result to the $session variable.
  2. Run Get-VEXDatabase with the $session variable. Use the Name parameter to specify the name of the mailbox database.

PS C:\PS> $session = Get-VBRExchangeItemRestoreSession

PS C:\PS> Get-VEXDatabase -Session $session -Name "Mailbox Database 0754907780.edb"

Related Commands

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