Remove-VBRVMExclusion
Short Description
Removes global VM exclusions.
Applies to
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Remove-VBRVMExclusion -Exclusion <VBRVMExclusion[]> [<CommonParameters>]  | 
Detailed Description
This cmdlet removes global exclusions.
Parameters
Parameter  | Description  | Type  | Required  | Position  | Accept Pipeline Input  | 
|---|---|---|---|---|---|
Exclusion  | Specifies global VM exclusions that you want to remove.  | Accepts the VBRVMExclusion[] object. To get this object, run the Get-VBRVMExclusion cmdlet.  | True  | 0  | True (ByPropertyName, ByValue)  | 
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Removing Global VM Exclusion
This example shows how to add a note to the exclusion for the ubuntusrv20 VM.
$excl = Get-VBRVMExclusion -Name "ubuntusrv20" Remove-VBRVMExclusion -Exclusion $excl  | 
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.
 
Related Commands