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)New-VBRNASBackupPathMask [-ForAllShares] [<CommonParameters>]
-
NASServerNew-VBRNASBackupPathMask -Path <String> [-ForAllShares] [<CommonParameters>]
Detailed 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.
Parameters
|
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) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRNASBackupPathMask object that defines an exclusion path for mask for a file backup job.
Examples
Example 1. Defining Exclusion Paths for File Backup Job
|
This command defines the
|
Example 2. Defining Exclusion Paths for Multiple File Shares
|
This command defines that the
|