Get-VBRBackupObject
Short Description
Returns backups or replicas of machines.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VBRBackupObject [-Backup <VBRBackup[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns backups or replicas of machines. You can scan these backups with antivirus or YARA scan.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Backup |
Specifies a backup or replica object with backed-up machines.
Accepts the |
|
False |
Named |
True (ByPropertyName) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
Examples
Getting Backups of Machines
This example shows how to get backups of machines.
|
$backup = Get-VBRBackup $vmbackup = Get-VBRBackupObject -Backup $backup |
Perform the following steps:
- Run the
Get-VBRBackupReturns backups. cmdlet. Save the result to the$backupvariable. - Run the
Get-VBRBackupObjectcmdlet. Set the$backupvariable as theBackupparameter value. Save the result to the$vmbackupvariable.
Related Commands
Get-VBRBackupReturns backups.