Get-VBRComputerDisk
Short Description
Returns disks of computers backed-up with Veeam Agent For Microsoft Windows.
Important |
This cmdlet is available starting from Veeam Backup & Replication 11a (build 11.0.1.1261). |
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
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 the About CommonParameters section of 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. 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 forth restore point in the array).
- Run the Get-VBRComputerDisk cmdlet. Set the $restorepoint variable as the RestorePoint parameter value.
Related Commands