Get-VBRViVirtualDevice
Short Description
Returns details on VMware VM virtual disks.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VBRViVirtualDevice [-RestorePoint] <COib> [<CommonParameters>] |
Detailed Description
This cmdlet returns details on backed-up VMware VM virtual disks. The cmdlet will return details on the following types of virtual disks:
- SCSI
- SATA
- NVME
- IDE
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
RestorePoint |
Specifies a restore point of VMs. The cmdlet will return details on backed-up virtual disks of these VMs.
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
This cmdlet returns the VBRViVirtualDevice[] object that contains details on virtual disks of VMs from backups.
Examples
Getting Details on Virtual Disks
This example shows how to get details on virtual disks of the VM that is backed up by the Winsrv4515 backup job.
|
$backup = Get-VBRBackup -Name "Winsrv4515" $restorepoint = Get-VBRRestorePoint -Backup $backup Get-VBRViVirtualDevice -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. - 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. Consider that the array numbering starts with 0. In our example, the fourth restore point is used.
- Run the
- Run the
Get-VBRViVirtualDevicecmdlet. Set the$restorepointvariable as theRestorePointparameter value.The cmdlet output will contain the following details on VM virtual disks:
ControllerNumber,Type,VirtualDeviceNode,VirtualDeviceCapacityGBandName.
Related Commands
Get-VBRBackupReturns backups.Get-VBRRestorePointReturns restore points.