Set-VBRVMExclusion
Short Description
Modifies a global VM exclusion.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Set-VBRVMExclusion -Exclusion <VBRVMExclusion> [-Note <String>] [<CommonParameters>] |
Detailed Description
This cmdlet modifies a global VM exclusion.
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Exclusion | Specifies the global exclusion that you want to modify. | Accepts the VBRVMExclusion object. To get this object, run the Get-VBRVMExclusion cmdlet. | True | 0 | True (ByPropertyName, ByValue) |
Note | Specifies the note for the exclusion. | String | False | Named | True (ByPropertyName) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRVMExclusion object that defines the modified exclusion.
Examples
Adding Notes to Exclusion
This example shows how to add a note to the exclusion for the ubuntusrv20 VM.
$excl = Get-VBRVMExclusion -Name "ubuntusrv20" Set-VBRVMExclusion -Exclusion $excl -Note "Protected by another backup server" |
Perform the following steps:
- Run the Get-VBRVMExclusion cmdlet. Specify the Name parameter value. Save the result to the $excl variable.
- Run the Set-VBRVMExclusion cmdlet. Set the $excl variable as the Exclusion parameter value. Specify the Note parameter value.
Related Commands