Help Center
Choose product document...
Veeam Backup & Replication 9.5
PowerShell Reference

Add-VBRDiscoveredComputerRecoveryMedia

Short Description

Creates Veeam Recovery Media.

Applies to

Product Edition: Standard, Enterprise, Enterprise Plus

Requires Veeam Agent for Microsoft Windows license

Syntax

Add-VBRDiscoveredComputerRecoveryMedia -DiscoveredComputer <VBRDiscoveredComputer> -RecoveryMediaTarget <VBRRecoveryMediaTarget> [-Force]  [<CommonParameters>]

Detailed Description

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

Add-VBRDiscoveredComputerRecoveryMedia Note:

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

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Discovered
Computer

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 VBRDiscoveredComputer type.

True

Named

True (ByValue
ByProperty
Name)

False

RecoveryMedia
Target

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

Accepts VBRRecoveryMediaTarget type.

True

Named

True (ByProperty
Name)

False

Force

If set, the cmdlet will create Veeam Recovery Media even if any of the following occurs:

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

False

Named

True (ByProperty
Name)

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.

Return Type

VBRProtectionGroup

Example 1

This example shows how to save Veeam Recovery Media in the ISO file format.

You will need to perform the following steps:

  1. Run New-VBRRecoveryMediaISOTarget to create the path for the ISO file. Save the result to the $isopath variable.
  2. Run Get-VBRDiscoveredComputer. 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 Add-VBRDiscoveredComputerRecoveryMedia with the $isopath and $computer variables to save Veeam Recovery Media in the ISO file format.

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

PS C:\PS> $computer = Get-VBRDiscoveredComputer | Where {$_.name -eq "support.east.local"}

PS C:\PS> Add-VBRDiscoveredComputerRecoveryMedia -DiscoveredComputer $computer -RecoveryMediaTarget $isopath

Example 2

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

You will need to perform the following steps:

  1. Run Get-VBRDiscoveredComputer with 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 Get-VBRRecoveryMediaTarget with the Type parameter and 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 Add-VBRDiscoveredComputerRecoveryMedia with the $computer and $removable variables.

PS C:\PS> $computer = Get-VBRDiscoveredComputer | Where {$_.name -eq "support.east.local"}

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

PS C:\PS> Add-VBRDiscoveredComputerRecoveryMedia -DiscoveredComputer $computer -RecoveryMediaTarget $removable

Related Commands

Get-VBRDiscoveredComputer

Get-VBRRecoveryMediaTarget

New-VBRRecoveryMediaISOTarget

Veeam Large Logo

User Guide for VMware vSphere

User Guide for Microsoft Hyper-V

Enterprise Manager User Guide

Veeam Cloud Connect Guide

Veeam Agent Management Guide

Veeam Backup Explorers User Guide

Backup and Restore of SQL Server Databases

PowerShell Reference

RESTful API Reference

Veeam Backup FREE Edition User Guide

Veeam Backup for Microsoft Office 365

Veeam ONE Documentation

Veeam Agent for Windows Documentation

Veeam Agent for Linux Documentation

Veeam Management Pack Documentation