Get-VEXDatabase

Short Description

Returns Microsoft Exchange mailbox databases.

Applies to

Veeam Backup & Replication, Veeam Backup for Microsoft 365

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Get-VEXDatabase [-Session] <IExchangeRestoreSession> [[-Name] <String[]>] [<CommonParameters>]

Detailed Description

This cmdlet returns Microsoft Exchange mailbox databases.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Session

Specifies an active restore session. The cmdlet will return an array of Microsoft Exchange mailbox databases within the specified restore session.

Accepts the IExchangeRestoreSession object. To get this object, run the Get-VBOExchangeItemRestoreSession or Get-VBRExchangeItemRestoreSession cmdlet.

True

0

True (ByValue)

Name

[For Veeam Backup & Replication backups] Specifies an array of Microsoft Exchange mailbox database names. The cmdlet will return an array of Microsoft Exchange mailbox databases with these names.

[For Veeam Backup for Microsoft 365 backups] Specifies an array of Microsoft Exchange organization names. The cmdlet will return an array of Microsoft Exchange organizations with these names.

This parameter accepts wildcard characters.

String[]

False

1

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

The cmdlet returns the VEXDatabase[] array that contains Microsoft Exchange mailbox databases.

Examples

Get-VEXDatabaseExample 1. Getting Microsoft Exchange Databases within Specified Restore Session [For Veeam Backup & Replication]

Get-VEXDatabaseExample 2. Getting Microsoft Exchange Database with Specified Name [For Veeam Backup & Replication]

Get-VEXDatabaseExample 3. Getting Microsoft Exchange Databases within Specified Restore Session [For Veeam Backup for Microsoft 365]

Get-VEXDatabaseExample 4. Getting Microsoft Exchange Database with Specified Name [For Veeam Backup for Microsoft 365]

Related Commands

Page updated 3/6/2025

Page content applies to build 12.3.1.1139