Set-VBRVMExclusion
Short Description
Modifies a global VM exclusion.
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 |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
Note |
Specifies the note for the exclusion. |
|
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-VBRVMExclusionReturns a list of global VM exclusions. cmdlet. Specify theNameparameter value. Save the result to the$exclvariable. - Run the
Set-VBRVMExclusioncmdlet. Set the$exclvariable as theExclusionparameter value. Specify theNoteparameter value.
Related Commands
Get-VBRVMExclusionReturns a list of global VM exclusions.