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
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-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:

  1. Run the Get-VBRAmazonRestoreSession 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.

Related Commands

Get-VBRAmazonRestoreSession

Page updated 2/16/2024

Page content applies to build 12.2.0.334