Get-VBRComputerDisk
Short Description
Returns disks of computers backed-up with Veeam Agent for Microsoft Windows.
Applies to
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 COib object. To get this object, run the Get-VBRRestorePoint cmdlet. | True | Named | True (ByValue, ByPropertyName) |
<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-VBRBackup cmdlet. Specify the Name parameter value. Save the result to the $backup variable.
Note: To get a list of restore points for a Veeam Agent job, you must provide the asterisks sign for the Name parameter value: Name "AgentJob*". Otherwise, the Get-VBRRestorePoint cmdlet will not return any restore points for the Veeam Agent job.
- Run the Get-VBRRestorePoint cmdlet. Set the $backup variable as the Backup parameter value. Save the result to the $restorepoint variable.
The Get-VBRRestorePoint cmdlet 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 Get-VBRComputerDisk cmdlet. Set the $restorepoint[3] variable as the RestorePoint parameter value.
Related Commands