Add-VBRDiscoveredComputerRecoveryMedia
Short Description
Creates Veeam Recovery Media.
Product Edition: Community, Standard, Enterprise, Enterprise Plus
Syntax
Add-VBRDiscoveredComputerRecoveryMedia -DiscoveredComputer <VBRDiscoveredComputer> -RecoveryMediaTarget <VBRRecoveryMediaTarget> [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet creates Veeam Recovery — 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.
|
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
Parameter | Description | Required | Position | Accept | Accept |
Discovered | 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 type. | True | Named | True (ByValue | False |
RecoveryMedia | Specifies a storage device, optical disk or the ISO file path for creating Veeam Recovery Media. Accepts the VBRRecoveryMediaTarget type. | True | Named | True (ByProperty | False |
Force | If set, the cmdlet will create Veeam Recovery Media even if any of the following occurs:
| False | Named | True (ByProperty | 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
Example 1
This example shows how to save Veeam Recovery Media in the ISO file format.
You will need to perform the following steps:
- Run New-VBRRecoveryMediaISOTarget to create the path for the ISO file. Save the result to the $isopath variable.
- 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.
- Run Add-VBRDiscoveredComputerRecoveryMedia with the $isopath and $computer variables to save Veeam Recovery Media in the ISO file format.
$isopath = New-VBRRecoveryMediaISOTarget -Path "c:\image.iso" $computer = Get-VBRDiscoveredComputer | Where {$_.name -eq "support.east.local"} 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:
- 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.
- 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.
- Run Add-VBRDiscoveredComputerRecoveryMedia with the $computer and $removable variables.
$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 |
Related Commands