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

Get-VEXDatabase

Short Description

Returns Microsoft Exchange mailbox databases.

Applies to

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

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

Detailed Description

This cmdlet returns Microsoft Exchange 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.

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

True

0

True (ByValue)

False

Name

Specifies the name of a mailbox database.

NOTE: For the 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 on common parameters, see Microsoft Docs.

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 the Get-VBOExchangeItemRestoreSession cmdlet to get an active restore session. Save the result to the $session variable.
  2. Run the Get-VEXDatabase cmdlet with the $session variable.

$session = Get-VBOExchangeItemRestoreSession

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 the Get-VBOExchangeItemRestoreSession cmdlet to get an active restore session. Save the result to the $session variable.
  2. Run the Get-VEXDatabase cmdlet with the $session variable. Use the Name parameter to specify the name of the mailbox database.

$session = Get-VBOExchangeItemRestoreSession

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 the Get-VBRExchangeItemRestoreSession cmdlet to get an active restore session. Save the result to the $session variable.
  2. Run the Get-VEXDatabase cmdlet with the $session variable.

$session = Get-VBRExchangeItemRestoreSession

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 the Get-VBRExchangeItemRestoreSession cmdlet to get an active restore session. Save the result to the $session variable.
  2. Run the Get-VEXDatabase cmdlet with the $session variable. Use the Name parameter to specify the name of the mailbox database.

$session = Get-VBRExchangeItemRestoreSession

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