Get-VBRComputerDisk
Short Description
Returns disks of computers backed-up with Veeam Agent for Microsoft Windows.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VBRComputerDisk -RestorePoint <COib> [<CommonParameters>] |
Detailed Description
This cmdlet returns disks of computers backed-up with Veeam Agent for Microsoft Windows.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
RestorePoint |
Specifies a restore point of computers. The cmdlet will return details on backed-up disks of these computers.
Accepts the |
|
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the VBRComputerDisk object that contains volumes of computers backed-up with Veeam Agent for Microsoft Windows.
Examples
Getting Volumes of Computers Backed-Up with Veeam Agent for Microsoft Windows
This example shows how to get volumes of the WinLaptop2017 computer backed-up with Veeam Agent for Microsoft Windows.
|
$backup = Get-VBRBackup -Name "WinLaptop2017*" $restorepoint = Get-VBRRestorePoint -Backup $backup Get-VBRComputerDisk -RestorePoint $restorepoint[3] |
Perform the following steps:
- Get the restore point:
- Run the
Get-VBRBackupReturns backups. cmdlet. Specify theNameparameter value. Save the result to the$backupvariable.Note: To get a list of restore points for a Veeam Agent job, you must provide the asterisks sign for the
Nameparameter value:Name "AgentJob*". Otherwise, theGet-VBRRestorePointcmdlet will not return any restore points for the Veeam Agent job. - Run the
Get-VBRRestorePointReturns restore points. cmdlet. Set the$backupvariable as theBackupparameter value. Save the result to the$restorepointvariable.The
Get-VBRRestorePointcmdlet will return an array of restore points. Mind the ordinal number of the necessary restore point (in our example, it is the fourth restore point in the array).
- Run the
- Run the
Get-VBRComputerDiskcmdlet. Set the$restorepoint[3]variable as theRestorePointparameter value.
Related Commands
Get-VBRBackupReturns backups.Get-VBRRestorePointReturns restore points.