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

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 VBRAmazonRestoreSession object. To get this object, run the Get-VBRAmazonRestoreSessionReturns active restore sessions to Amazon EC2. cmdlet.

VBRAmazonRestoreSession

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.

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:

  1. Run the Get-VBRAmazonRestoreSessionReturns active restore sessions to Amazon EC2. cmdlet. Specify the Session parameter value. Save the result to the $session variable.
  2. Run the Stop-VBRVMRestoreToAmazon cmdlet. Set the $session variable as the Session parameter value.

Get-VBRAmazonRestoreSessionReturns active restore sessions to Amazon EC2.

Page updated 2026-08-19

Page content applies to build 13.1.1.18