Set-VBOFolderExclusions

Short Description

Modifies folder exclusion settings.

Syntax

Set-VBOFolderExclusions [-DeletedItems] [-Drafts] [-JunkEmail] [-Outbox] [-SyncIssues] [-LitigationHold] [-InPlaceHold]  [<CommonParameters>]

Detailed Description

This cmdlet modifies folder exclusion settings. Per these settings backup jobs will not process selected mailbox folder types. Veeam Backup for Microsoft 365 will not store excluded data.

By default, backup jobs will back up all folders from user mailboxes.

To modify settings, you need to enter the necessary parameters with new values. The parameters that you omit will remain unchanged.

Set-VBOFolderExclusions Note

Folder exclusion settings are global and will be applied to all backup jobs configured in Veeam Backup for Microsoft 365.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

DeletedItems

Defines that the cmdlet will make backup jobs not to process the Deleted Items and Recoverable Items mailbox folders.

SwitchParameter

False

Named

False

False

Drafts

Defines that the cmdlet will make backup jobs not to process the Drafts mailbox folder.

SwitchParameter

False

Named

False

False

JunkEmail

Defines that the cmdlet will make backup jobs not to process the Junk Email mailbox folder.

SwitchParameter

False

Named

False

False

Outbox

Defines that the cmdlet will make backup jobs not to process the Outbox mailbox folder.

SwitchParameter

False

Named

False

False

SyncIssues

Defines that the cmdlet will make backup jobs not to process the Sync Issues mailbox folder.

SwitchParameter

False

Named

False

False

LitigationHold

Defines that the cmdlet will make backup jobs not to process items of mailboxes placed on Litigation Hold.

SwitchParameter

False

Named

False

False

InPlaceHold

Defines that the cmdlet will make backup jobs not to process preserved items of mailboxes placed on In-Place Hold.

SwitchParameter

False

Named

False

False

<CommonParameters>

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

Examples

Set-VBOFolderExclusionsExample 1. Excluding Junk Email and Drafts Folders from Processing

This command excludes the Junk Email and Drafts mailbox folders from backup jobs.

Set-VBOFolderExclusions -JunkEmail -Drafts