Set-VBRVMExclusion

Short Description

Modifies a global VM exclusion.

Note

This cmdlet is available starting from Veeam Backup & Replication 12.1 (build 12.1.0.2131).

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:

  1. Run the Get-VBRVMExclusion cmdlet. Specify the Name parameter value. Save the result to the $excl variable.
  2. Run the Set-VBRVMExclusion cmdlet. Set the $excl variable as the Exclusion parameter value. Specify the Note parameter value.

Related Commands

Get-VBRVMExclusion

Page updated 2/29/2024

Page content applies to build 12.1.1.56