Stop-VBRVMRestoreToAzure
Short Description
Stops running VM backup restore to Microsoft Azure sessions.
Applies to
Platform: VMware, Hyper-V
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Detailed Description
This cmdlet stops a selected VM backup restore to Microsoft Azure session.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
---|---|---|---|---|---|
Session | Specifies the restore session you want to stop. | True | Named | True (ByValue, | False |
Wait | Indicates that the command waits for the process to complete before accepting more input. | False | Named | False | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
Example
This example shows how to stop the most recent restore to Azure session:
- Get the most recent restore to Azure session: run Get-VBRAzureRestoreSession and save the result to the $session variable.
- Run Stop-VBRVMRestoreToAzure with the saved variable.
$session = Get-VBRAzureRestoreSession | Sort-Object CreationTime -Descending | Select -First 1 Stop-VBRVMRestoreToAzure -Session $session |
Related Commands