Get-VEXItem
Short Description
Returns items added to Microsoft Exchange mailboxes.
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:
- Get mailbox items from a folder.
|
Get-VEXItem -Folder <VEXFolder> [-Query <String>] [-Recurse] [<CommonParameters>] |
- 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>] |
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 |
|---|---|---|---|---|---|
|
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) |
|
Query |
Specifies a query string for mailbox item search. The cmdlet will return items that match the search query from the specified folder, database or mailbox. For more information, see the Appendix A. Item Search Parameters section of the Veeam Backup for Microsoft 365 User Guide. |
String |
False |
Named |
False |
|
Recurse |
Defines that the cmdlet will return items from all subfolders of the specified parent folder. Default: False |
SwitchParameter |
False |
Named |
False |
|
Database |
Specifies an array of mailbox databases. The cmdlet will return items from these databases. |
Accepts the VEXDatabase[] object. To get this object, run the Get-VEXDatabase cmdlet. |
True |
Named |
True (ByValue) |
|
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) |
<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[] array that contains Microsoft Exchange mailbox items.
Examples
Example 1. Getting Mailbox Items from Database [For Veeam Backup & Replication]
|
This example shows how to get mailbox items with the support keyword from the DB_0754907780.edb mailbox database.
Perform the following steps:
|
Example 2. Getting Mailbox Items from Mailbox [For Veeam Backup & Replication]
|
This example shows how to get mailbox items from the Sales mailbox.
Perform the following steps:
|
Example 3. Getting Mailbox Items from Mailbox Folder [For Veeam Backup & Replication]
|
This example shows how to get items from the Contacts mailbox folder.
Perform the following steps:
|
Example 4. Getting Mailbox Items from Database [For Veeam Backup for Microsoft 365]
|
This example shows how to get mailbox items with the support keyword from a mailbox database.
Perform the following steps:
|
Example 5. Getting Mailbox Items from Mailbox [For Veeam Backup for Microsoft 365]
|
This example shows how to get mailbox items from the Sales mailbox.
Perform the following steps:
|
Example 6. Getting Mailbox Items from Folder [For Veeam Backup for Microsoft 365]
|
This example shows how to get items from the Contacts mailbox folder.
|
Related Commands