Help Center
Choose product document...
Veeam Backup for Microsoft Office 365 2.0
PowerShell Reference

Get-VEXDatabase

Short Description

Returns a mailbox database.

Syntax

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

Detailed Description

This cmdlet returns mailbox database 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 the mailbox database state.

True

0

True (ByValue)

False

Name

Specifies the name of the mailbox database. Mailbox database name is the 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

This example shows how to get mailbox databases for exploring and restoring mailbox items.

You will need to perform the following steps:

  1. Run Get-VBOExchangeItemRestoreSession to get the 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

This example shows how to get a specific mailbox database for exploring and restoring mailbox items.

You will need to perform the following steps:

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

Related Commands

Get-VBOExchangeItemRestoreSession

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference