Stop-VBRVMRestoreToAmazon
Short Description
Stops running restore to Amazon EC2 sessions.
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 Pipeline Input |
|---|---|---|---|---|---|
|
Session |
Specifies the active restore to Amazon EC2 session that you want to stop.
Accepts the |
|
True |
Named |
True (ByValue) |
|
Wait |
Defines 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 on common parameters, see Microsoft Docs.
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-VBRAmazonRestoreSessionReturns active restore sessions to Amazon EC2. cmdlet. Specify theSessionparameter value. Save the result to the$sessionvariable. - Run the
Stop-VBRVMRestoreToAmazoncmdlet. Set the$sessionvariable as theSessionparameter value.
Related Commands
Get-VBRAmazonRestoreSessionReturns active restore sessions to Amazon EC2.