Add-VBRDiscoveredComputerRecoveryMedia

Short Description

Creates Veeam Recovery Media.

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Add-VBRDiscoveredComputerRecoveryMedia -DiscoveredComputer <VBRDiscoveredComputer>

-RecoveryMediaTarget <VBRRecoveryMediaTarget> [-Force] [-EnableRemoteBmr] [<CommonParameters>]

Detailed Description

This cmdlet creates Veeam Recovery — a recovery image of your computer. You can create Veeam Recovery Media on removable storage devices or save it locally in the ISO file format.

Note

To create Veeam Recovery Media for a protected computer, you must have a full backup of this computer. This backup must contain an OS of this computer.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

DiscoveredComputer

Specifies the discovered computer for which you want to create Veeam Recovery Media.

Note: You can create Veeam Recovery Media only for discovered computers.

Accepts the VBRDiscoveredComputer object. To get this object, run the Get-VBRDiscoveredComputerReturns discovered computers. cmdlet.

VBRDiscoveredComputer

True

Named

True (ByPropertyName, ByValue)

EnableRemoteBmr

Defines that the created Veeam Recovery Media will support remote bare metal recovery.

SwitchParameter

False

Named

True (ByPropertyName)

Force

Defines that the cmdlet will create Veeam Recovery Media even if any of the following occurs:

  • The target removable device needs to be formatted.
  • The ISO file under the specified path already exists.
  • There is not enough space on the target removable device.

SwitchParameter

False

Named

True (ByPropertyName)

RecoveryMediaTarget

Specifies a storage device or the ISO file path for creating Veeam Recovery Media.

Accepts the VBRRecoveryMediaTarget object. To get this object, run the Get-VBRRecoveryMediaTargetReturns available bootable media for creating Veeam Recovery Media. cmdlet.

VBRRecoveryMediaTarget

True

Named

True (ByPropertyName)

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Output Object

VBRProtectionGroup

Examples

Add-VBRDiscoveredComputerRecoveryMediaExample 1. Saving Veeam Recovery Media in ISO File Format

This example shows how to save Veeam Recovery Media in the ISO file format. The recovery media will support remote bare metal recovery.

$isopath = New-VBRRecoveryMediaISOTarget -Path "c:\image.iso"

$computer = Get-VBRDiscoveredComputer | Where {$_.name -eq "support.east.local"}

Add-VBRDiscoveredComputerRecoveryMedia -DiscoveredComputer $computer -RecoveryMediaTarget $isopath -EnableRemoteBmr

Perform the following steps:

  1. Run the New-VBRRecoveryMediaISOTargetCreates the path for saving Veeam Recovery Media in the ISO file format. cmdlet. Specify the Path parameter value. Save the result to the $isopath variable.
  2. Run the Get-VBRDiscoveredComputerReturns discovered computers. cmdlet. Use the Where-Object method to get the computer for which you want to create Veeam Recovery Media. Save the result to the $computer variable.
  3. Run the Add-VBRDiscoveredComputerRecoveryMedia cmdlet. Set the $computer variable as the DiscoveredComputer parameter value. Set the $isopath variable as the RecoveryMediaTarget parameter value. Provide the EnableRemoteBmr parameter.

Add-VBRDiscoveredComputerRecoveryMediaExample 2. Creating Veeam Recovery Media on Removable Storage Device

This example shows how to create Veeam Recovery Media on a removable storage device.

$computer = Get-VBRDiscoveredComputer | Where {$_.name -eq "support.east.local"}

$removable = Get-VBRRecoveryMediaTarget -Type RemovableDevice | Where {$_.Description -eq "RECOVERY (F:)"}

Add-VBRDiscoveredComputerRecoveryMedia -DiscoveredComputer $computer -RecoveryMediaTarget $removable

Perform the following steps:

  1. Run the Get-VBRDiscoveredComputerReturns discovered computers. cmdlet. Use the Where-Object method to get the computer for which you want to create Veeam Recovery Media. Save the result to the $computer variable.
  2. Run the Get-VBRRecoveryMediaTargetReturns available bootable media for creating Veeam Recovery Media. cmdlet. Set the RemovableDevice value as the Type parameter value. Use the Where-Object method to get the removable storage device where you want to create Veeam Recovery Media. Save the result to the $removable variable.
  3. Run the Add-VBRDiscoveredComputerRecoveryMedia cmdlet. Set the $computer variable as the DiscoveredComputer parameter value. Set the $removable variable as the RecoveryMediaTarget parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18