Attach-VBRDiscoveredComputerBackup

Short Description

Allows a discovered computer to access a backup.

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

Syntax

Attach-VBRDiscoveredComputerBackup -Computer <VBRDiscoveredComputer> -Backup <VBRDiscoveredComputerBackup> [<CommonParameters>]

Detailed Description

This cmdlet allows a discovered computer to access a backup. The cmdlet grants the specified discovered computer access to the specified backup.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Backup

Specifies the backup that you want to allow the discovered computer to access.

Accepts the VBRDiscoveredComputerBackup object. To get this object, run the Get-VBRDiscoveredComputerBackupReturns backups of discovered computers. cmdlet.

VBRDiscoveredComputerBackup

True

Named

True (ByPropertyName)

Computer

Specifies the discovered computer that you want to allow to access the backup.

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

VBRDiscoveredComputer

True

Named

True (ByPropertyName, ByValue)

<CommonParameters>

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

Examples

Allowing Discovered Computer to Access Backup

This example shows how to allow a discovered computer to access a backup.

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

$backup = Get-VBRDiscoveredComputerBackup -Computer $computer

Attach-VBRDiscoveredComputerBackup -Computer $computer -Backup $backup

Perform the following steps:

  1. Run the Get-VBRDiscoveredComputerReturns discovered computers. cmdlet. Use the Where-Object method to get the necessary discovered computer. Save the result to the $computer variable.
  2. Run the Get-VBRDiscoveredComputerBackupReturns backups of discovered computers. cmdlet. Set the $computer variable as the Computer parameter value. Save the result to the $backup variable.
  3. Run the Attach-VBRDiscoveredComputerBackup cmdlet. Set the $computer variable as the Computer parameter value. Set the $backup variable as the Backup parameter value.

Page updated 2026-08-19

Page content applies to build 13.1.1.18