Stop-VBRViInstantVMDiskRecovery
Short Description
Stops restore of VM virtual disks.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Stop-VBRViInstantVMDiskRecovery [-InstantRecovery] <InstantRecovery> [-Force] [-RunAsync] [<CommonParameters>] |
Detailed Description
This cmdlet stops restore of VM virtual disks.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Force |
Defines that the cmdlet will run without warning. |
|
False |
Named |
False |
|
InstantRecovery |
Specifies a session that is running to restore VM virtual disks. The cmdlet will stop this session.
Accepts the |
|
True |
0 |
True (ByPropertyName, ByValue) |
|
RunAsync |
Defines that the command returns immediately without waiting for the task to complete. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Stopping Restore of VM Virtual Disks
This example shows how to stop a session that is running to restore VM virtual disks.
|
$session = Get-VBRInstantRecovery Stop-VBRViInstantVMDiskRecovery -InstantRecovery $session |
Perform the following steps:
- Run the
Get-VBRInstantRecoveryReturns running Instant Recovery sessions. cmdlet. Save the result to the$sessionvariable. - Run the
Stop-VBRViInstantVMDiskRecoverycmdlet. Set the$sessionvariable as theInstantRecoveryparameter value.
Related Commands
Get-VBRInstantRecoveryReturns running Instant Recovery sessions.