Start-VBRRestoreVMFiles
Short Description
Restores VM configuration files.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus
Syntax
Start-VBRRestoreVMFiles [-RestorePoint] <COib> [-Server] <CHost> [-Path] <String> [-Files <COIBFileInfo[]>] [-Reason <String>] [-RunAsync] [-WarningAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>] |
Related Commands
Detailed Description
This cmdlet allows you to restore configuration file (.vmx) or virtual disks (.vmdk) of a selected VM.
Run Start-VBRWindowsFileRestore to restore VM disks data.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
RestorePoint | Specifies the VM restore point to which you want to restore. | True | 1 | True (by Value | False |
Server | Specifies the host to which the VM guest files should be restored. | True | 2 | False | False |
Path | Specifies the string with the path to the folder where restored files should be saved. | True | 3 | False | False |
Files | Specifies the files you want to restore. By default, all files from the VM will be restored. | False | Named | True | False |
Reason | Specifies the string with the reason for performing the VM guest OS file restore. | False | Named | False | False |
RunAsync | Indicates that the command returns immediately without waiting for the task to complete. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Example
This example allows you to restore all VM guest OS files from the restore point specified in the $point variable and save them on the host specified in the $server variable to the C:\BackupFiles folder.