Export-VEXItem

Short Description

Exports Exchange organization backups.

Applies to

Veeam Backup & Replication, Veeam Backup for Microsoft 365

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

Syntax

This cmdlet provides parameter sets that allow you to:

  • Export Exchange organization mailbox items.

Export-VEXItem -Item <VEXItem[]> -To <String> [-PstSizeLimit <UInt64>] [-Force] [<CommonParameters>]

  • Export an Exchange organization mailbox folder.

Export-VEXItem -Folder <VEXFolder> -To <String> [-PstSizeLimit <UInt64>] [-Force] [-ContentKeyword <String[]>] [<CommonParameters>]

  • Export an Exchange organization mailbox.

Export-VEXItem -Mailbox <VEXMailbox> -To <String> [-PstSizeLimit <UInt64>] [-Force] [-ContentKeyword <String[]>] [<CommonParameters>]

  • Export databases of Exchange organization mailboxes.

Export-VEXItem -Database <VEXDatabase[]> -To <String> [-PstSizeLimit <UInt64>] [-Force] [-ContentKeyword <String[]>] [<CommonParameters>]

Detailed Description

This cmdlet exports Exchange organization mailbox databases, mailboxes, folders and mailbox items into Personal Folder Files (PST files). Additionally, the cmdlet exports mailbox items to Outlook Message Files (MSG files).

Note

  • Before running this cmdlet, you must first start a restore session. For more information on how to start a restore session, see Start-VBOExchangeItemRestoreSession or Start-VBRExchangeItemRestoreSession.
  • If you start a restore session for Veeam Backup for Microsoft 365, the report about export operations will only be sent to the user account provided in Veeam Explorer for Microsoft Exchange email settings. For more information, see Set-VEXMailSettings.
  • The machine on which you are going to run restore sessions must have a 64-bit version of Microsoft Outlook 2016, Microsoft Outlook 2013 or Microsoft Outlook 2010 installed.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Item

Specifies items of an Exchange organization mailbox. The cmdlet will export these items.

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

True

Named

True (ByValue)

To

Specifies a path and a name for the PST file or a path for MSG files.

To export databases, mailboxes and folders to a PST file, specify the path and the name for the PST file. The cmdlet will create the PST file with the specified name if it does not exist.

To export items to MSG files, specify the path and the folder. The cmdlet will create the MSG file for each item in the folder that you specified.

String

True

Named

False

PstSizeLimit

Specifies the size limit of the exported PST file in GB. The value must be between 1 GB and 49 GB.

If the data you want to export exceeds the specified size limit, Veeam Explorer for Microsoft Exchange will create multiple PST files.

Uint64

False

Named

False

Force

Defines that the cmdlet will perform export operations without notifying the user.

Default: False

SwitchParameter

False

Named

False

Folder

Specifies a folder of an Exchange organization mailbox. The cmdlet will export this folder with all its subfolders.

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

True

Named

True (ByValue)

ContentKeyWord

Specifies a keyword to query data for Exchange organization mailbox. The cmdlet will look for the specified keywords in all message fields (From, To, Subject, Body). After that, the cmdlet will export data that contains the specified keywords.

String[]

False

Named

False

Mailbox

Specifies an Exchange organization mailbox that you want to export.

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

True

Named

True (ByValue)

Database

Specifies an array of Exchange organization mailbox databases. The cmdlet will export these databases.

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

True

Named

True (ByValue)

<CommonParameters>

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

Output Object

None.

Examples

Export-VEXItemExample 1. Exporting Mailbox Items [For Veeam Backup & Replication]

Export-VEXItemExample 2. Exporting Mailbox Folder [For Veeam Backup & Replication]

Export-VEXItemExample 3. Exporting Mailbox [For Veeam Backup & Replication]

Export-VEXItemExample 4. Exporting Database [For Veeam Backup & Replication]

Export-VEXItemExample 5. Exporting Mailbox Items [For Veeam Backup for Microsoft 365]

Export-VEXItemExample 6. Exporting Mailbox Folder [For Veeam Backup for Microsoft 365]

Export-VEXItemExample 7. Exporting Mailbox [For Veeam Backup for Microsoft 365]

Export-VEXItemExample 8. Exporting Mailbox Database [For Veeam Backup for Microsoft 365]

Related Commands

Page updated 2/27/2025

Page content applies to build 8.1.1.159