--- title: "Set-VBRObjectStorageBackupJobObject" description: "Modifies settings of objects that will be added to the object storage backup job. Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet modifies settings of objects that will be added to the object storage backup" canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/set-vbrobjectstoragebackupjobobject.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Unstructured Data Backup > Working with Unstructured Data Source Jobs > Adding Object Storage Backup Jobs > Set-VBRObjectStorageBackupJobObject" dateModified: "2026-08-19" --- # Set-VBRObjectStorageBackupJobObject ## Short Description Modifies settings of objects that will be added to the object storage backup job. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Set-VBRObjectStorageBackupJobObject -JobObject [-InclusionMask ] [-ExclusionMask ] [] ``` ## Detailed Description This cmdlet modifies settings of objects that will be added to the object storage backup job. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

ExclusionMask

Specifies a file mask for objects that you do not want to add to the object storage backup job. The cmdlet will not back up these objects.

Accepts the VBRObjectStorageBackupMask[] object. To get this object, run the following cmdlets:

VBRObjectStorageBackupMask[]

False

Named

False

InclusionMask

Specifies a file mask for objects that you want to add to the object storage backup job. The cmdlet will back up only objects specified in this file mask.

Accepts the VBRObjectStorageBackupMask[] object. To get this object, run the New-VBRObjectStorageBackupTagMask cmdlet.

VBRObjectStorageBackupMask[]

False

Named

False

JobObject

Specifies the settings of objects that will be added to the object storage backup job. The cmdlet will modify these settings.

Accepts the VBRObjectStorageBackupJobObject object. To define this object, run the New-VBRObjectStorageBackupJobObject cmdlet.

VBRObjectStorageBackupJobObject

True

Named

True (ByPropertyName, ByValue)

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see [ Microsoft Docs](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_commonparameters?view=powershell-7). ## Output Object The cmdlet returns the `VBRObjectStorageBackupJobObject` object that contains settings of objects that will be added to the object storage backup job. ## Examples ::: example ### Defining Objects to Exclude from Object Storage Backup Job This example shows how to exclude the `Path Reports/.pdf` from object storage backup job. ``` $serv = Get-VBRUnstructuredServer -Name "Azure OS" $object = New-VBRObjectStorageBackupJobObject -Server $serv -Container "Monthly Backups" -Path "Reports" $ExclusionMask = New-VBRObjectStorageBackupContainerPathMask -Container "Monthly Backups" -Path Reports/.pdf' Set-VBRObjectStorageBackupJobObject -JobObject $object -ExclusionMask $ExclusionMask ``` Perform the following steps: 1. Run the [`Get-VBRUnstructuredServer`](get-vbrunstructuredserver.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$serv` variable. 2. Run the [`New-VBRObjectStorageBackupJobObject`](new-vbrobjectstoragebackupjobobject.md) cmdlet. Specify the `Server`, `Container` and the `Path` parameter values. Save the result to the `$object` variable. 3. Run the [`New-VBRObjectStorageBackupContainerPathMask`](new-vbrobjectstoragebackupcontainerpathmask.md) cmdlet. Specify the `Container` and the `Path` parameter values. Save the result to the `$ExclusionMask` variable. 4. Run the `Set-VBRObjectStorageBackupJobObject` cmdlet. Set the `$object` variable as the `JobObject` parameter value. Set the `$ExclusionMask` variable as the `ExclusionMask` parameter value. ::: ## Related Commands - [`Get-VBRUnstructuredServer`](new-vbroracleprocessingoptions.md) - [`New-VBRObjectStorageBackupJobObject`](new-vbrobjectstoragebackupjobobject.md) - [`New-VBRObjectStorageBackupContainerPathMask`](new-vbrobjectstoragebackupcontainerpathmask.md)