This is an archive version of the document. To get the most up-to-date information, see the current version.

Get-VEXItem

Short Description

Returns items added to Microsoft Exchange mailboxes.

Applies to: Veeam Backup & Replication, Veeam Backup for Microsoft Office 365

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get mailbox items from a mailbox database.

Get-VEXItem -Database <VEXDatabase[]> [-Query <string>]  [<CommonParameters>]

  • Get mailbox items from a mailbox.

Get-VEXItem -Mailbox <VEXMailbox> [-Query <string>]  [<CommonParameters>]

  • Get mailbox items from a folder.

Get-VEXItem -Folder <VEXFolder> [-Query <string>] [-Recurse]  [<CommonParameters>]

Detailed Description

This cmdlet returns items added to Microsoft Exchange mailboxes. You can search the folder, mailbox or the entire mailbox database to get the necessary item.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Database

Specifies a mailbox database. The cmdlet will return items from this database.

Accepts the VEXDatabase[] object. To get this object, run the Get-VEXDatabase cmdlet.

True

True Named

True (ByValue)

False

Mailbox

Specifies a mailbox. The cmdlet will return items from this mailbox.

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

True

Named

True (ByValue)

False

Folder

Specifies a mailbox folder. The cmdlet will return items from this folder.

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

True

Named

True (ByValue)

False

Query

Allows using keywords for mailbox item search. The cmdlet will return items that match the search query from the specified folder, database or mailbox.

String

False

Named

False

True

Recurse

Defines that the cmdlet will return items from all subfolders of the specified parent folder.

SwitchParameter

False

Named

False

False

<CommonParameters>

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

Output Object

The cmdlet returns the VEXItem object that contains folders items added to Microsoft Exchange mailboxes.

Examples

Get-VEXItemExample 1. Getting Mailbox Items from Database [For Veeam Backup & Replication]

Get-VEXItemExample 2. Getting Mailbox Items from Mailbox [For Veeam Backup & Replication]

Get-VEXItemExample 3. Getting Mailbox Items from Mailbox Folder [For Veeam Backup & Replication]

Get-VEXItemExample 4. Getting Mailbox Items from Database [For Veeam Backup for Microsoft Office 365]

Get-VEXItemExample 5. Getting Mailbox Items from Mailbox [For Veeam Backup for Microsoft Office 365]

Get-VEXItemExample 6. Getting Mailbox Items from Folder [For Veeam Backup for Microsoft Office 365]

Related Commands