Stop-VBRVMRestoreToAmazon
Short Description
Stops running restore to Amazon EC2 sessions.
Applies to
Platform: VMware, Hyper-V
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
Stop-VBRVMRestoreToAmazon -Session <VBRAmazonRestoreSession> [-Wait] [<CommonParameters>] |
Detailed Description
This cmdlet stops specified restore to Amazon EC2 sessions.
Parameters
Parameter | Description | Type | Required | Position | Accept |
---|---|---|---|---|---|
Session | Specifies the active restore to Amazon EC2 session that you want to stop. | Accepts the VBRAmazonRestoreSession object. To get this object, run the Get-VBRAmazonRestoreSession cmdlet. | True | Named | True (ByValue) |
Wait | Defines that the command waits for the process to complete before accepting more input. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
None.
Examples
Stopping Active Restore Session to Amazon EC2
This example shows how to stop active restore session to Amazon EC2.
$session = Get-VBRAmazonRestoreSession -Session "New session" Stop-VBRVMRestoreToAmazon -Session $session |
Perform the following steps:
- Run the Get-VBRAmazonRestoreSession cmdlet. Specify the Session parameter value. Save the result to the $session variable.
- Run the Stop-VBRVMRestoreToAmazon cmdlet. Set the $session variable as the Session parameter value.
Related Commands