--- title: "Export-VBRJobObjectMasks" description: "This cmdlet exports masks of objects for file backup jobs and object storage backup jobs." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/export-vbrjobobjectmasks.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Unstructured Data Backup > Working with Unstructured Data Source Jobs > Managing Backup Jobs for Protecting Unstructured Data > Export-VBRJobObjectMasks" dateModified: "2026-08-19" --- # Export-VBRJobObjectMasks ## Short Description Exports masks of objects for file backup jobs and object storage backup jobs. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax ``` Export-VBRJobObjectMasks -BackupObject -Job -Path [-Force] [] ``` ## Detailed Description This cmdlet exports masks of objects for file backup jobs and object storage backup jobs. ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

BackupObject

Specifies a scope of objects. The cmdlet will export masks that contains these objects.

Accepts the VBRUnstructuredBackupJobObject object. To create this object, run the following cmdlets:

VBRUnstructuredBackupJobObject

True

Named

False

Force

Defines that the cmdlet will export masks without showing warnings in the PowerShell console.

SwitchParameter

False

Named

False

Job

Specifies an array of of file backups job and object storage backup job. The cmdlet will return masks added to these jobs.

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

CBackupJob

True

Named

False

Path

Specifies a path to a folder. The cmdlet will export masks to this folder.

String

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 `VBRImportedUnstructuredBackupMasks` ## Examples ::: example ### Exporting Masks for Object Storage Backup Job This example shows how to exports masks for the `Azure backup` object storage backup jobs. ``` $Job = Get-VBRUnstructuredBackupJob -Name "filemasks" $BackupObjects = $Job.BackupObject Export-VBRJobObjectMasks -Job $Job -BackupObject $BackupObjects[0] -Path "C:\export.xml" ``` Perform the following steps: 1. Run the [`Get-VBRUnstructuredBackupJob`](get-vbrunstructuredbackupjob.md) cmdlet. Specify the `Name` parameter value. Save the result to the `$Job` variable. 2. Get the `BackupObject` property of the `$Job` variable value. Save result to the `$BackupObjects` variable. 3. Run the `Export-VBRJobObjectMasks` cmdlet. Set the `$Job` variable as the `Job` parameter value. Set the `$BackupObjects[0]` variable as the `BackupObject` parameter value. Specify the `Path` parameter value. ::: ## Related Commands - [`Get-VBRUnstructuredServer`](get-vbrunstructuredserver.md) - [`New-VBRNASBackupJobObject`](new-vbrnasbackupjobobject.md) - [`New-VBRObjectStorageBackupJobObject`](new-vbrobjectstoragebackupjobobject.md) - [`Get-VBRUnstructuredBackupJob`](get-vbrunstructuredbackupjob.md)