Mount-VBRWindowsFileRestoreItems
Short Description
Mounts disks of VMs for which restore is launched to the Veeam Backup & Replication console.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Mount-VBRWindowsFileRestoreItems [-Session <CRestoreSession>] [-FileRestore <FileRestore>] [<CommonParameters>] |
Detailed Description
This cmdlet mounts disks of VMs for which restore is launched to the Veeam Backup & Replication console. After the disks are mounted, you can use Microsoft Windows File Explorer to work with restored files and folders. By default, the disks are mounted to the C:\VeeamFLR\ folder.
Note |
|
It is recommended that you use Microsoft Windows File Explorer only to view file content, not to restore files. For guest OS file restore, use the |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
FileRestore |
Specifies a session of Microsoft Windows guest OS file restore. The cmdlet will mount disks of the VMs for which the restore sessions was launched to the Veeam Backup & Replication console. Note: The restore session must be started within the current PowerShell session.
This parameter is required if the
Accepts the |
|
False |
Named |
False |
|
Session |
Specifies a session of Microsoft Windows guest OS file restore. The cmdlet will mount disks of the VMs for which the restore sessions was launched to the Veeam Backup & Replication console. Note: The restore session must be started within the current PowerShell session.
This parameter is required if the
Accepts the |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Mounting Disks of the VMs
This example shows how to mount disks of the Hv_DNS and Hv_DC VMs for which restore is launched.
|
$restore = Get-VBRRestoreSession -Name "Hv_DNS", "Hv_DC" Mount-VBRWindowsFileRestoreItems -Session $restore |
Perform the following steps:
- Run the
Get-VBRRestoreSessionReturns restore sessions. cmdlet. Specify theNameparameter value. Save the result to the$restorevariable. - Run the
Mount-VBRWindowsFileRestoreItemscmdlet. Set the$restorevariable as theSessionparameter value.
Related Commands
Get-VBRRestoreSessionReturns restore sessions.Start-VBRWindowsFileRestoreStarts Windows VM guest OS file restore session.