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

Get-VEXMailbox

Short Description

Returns mailboxes.

Syntax

Get-VEXMailbox -Database <VEXDatabase> [-Name <string[]>]  [<CommonParameters>]

Detailed Description

This cmdlet returns mailboxes from the specified mailbox database.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Database

Specifies the mailbox database. The cmdlet will return all mailboxes from this mailbox database.

True

0

True (ByValue)

False

Name

Specifies the name of the mailbox. The cmdlet will return the mailbox with this name.

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

This example shows how to get the mailbox with the name "sales".

You will need to perform the following steps:

  1. Get the mailbox database and save it to the $database variable:
  1. Run Get-VEXMailbox with the $database variable and Name parameter to get the specific mailbox from the mailbox database.

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

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

PS C:\PS> Get-VEXMailbox -Database $database -Name "sales"

Related Commands

Veeam Large Logo

User Guide

RESTful API Reference

PowerShell Reference