--- title: "New-VBRNASBackupPathMask" description: "This cmdlet creates the VBRNASBackupPathMask object. This object defines an exclusion path for mask for a file backup job. You can exclude either a specific folder or the whole file share." canonical: "https://helpcenter.veeam.com/docs/vbr/powershell/new-vbrnasbackuppathmask.html" breadcrumb: "Veeam PowerShell Reference > Veeam PowerShell Reference > Unstructured Data Backup > Working with Unstructured Data Source Jobs > Adding File Backup Jobs > New-VBRNASBackupPathMask" dateModified: "2026-08-19" --- # New-VBRNASBackupPathMask ## Short Description Defines an exclusion mask for path for a file backup job. **Product Edition**: Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets:
AllParameterSets (Default)
NASServer
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
ForAllShares |
Defines that the cmdlet will exclude multiple paths under file shares. Note: You can exclude multiples paths for only for root file shares. |
|
False |
Named |
False |
|
Path |
Specifies a path to the folder that you want to exclude. |
|
True |
Named |
True (ByPropertyName, ByValue) |