Stop-VBRVMRestoreToAmazon
Short Description
Stops running restore to Amazon EC2 sessions.
Applies to
Platform: VMware, Hyper-V
Product Edition: Community, Standard, Enterprise, Enterprise Plus
Syntax
Detailed Description
This cmdlet stops specified restore to Amazon EC2 sessions.
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Session | Specifies the active restore to Amazon EC2 session that you want to stop. | True | Named | True (ByValue) |
|
Wait | Indicates that the command waits for the process to complete before accepting more input. | False | Named | False |
|
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information about common parameters, see http://go.microsoft.com/fwlink/p/?LinkID=113216.
Return Type
Example
This example shows how to stop active restore session to Amazon EC2
- Run Get-VBRAmazonRestoreSession to get the restore session that you want to stop. Save the result to the $session variable.
- Run Stop-VBRVMRestoreToAmazon with the $session variable.
$session = Get-VBRAmazonRestoreSession -Session "New session" Stop-VBRVMRestoreToAmazon -Session $session |
Related Commands