This is an archive version of the document. To get the most up-to-date information, see the current version.

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

Stop-VBRVMRestoreToAmazon -Session <VBRAmazonRestoreSession> [-Wait]  [<CommonParameters>]

Detailed Description

This cmdlet stops specified restore to Amazon EC2 sessions.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

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

  1. Run Get-VBRAmazonRestoreSession to get the restore session that you want to stop. Save the result to the $session variable.
  2. Run Stop-VBRVMRestoreToAmazon with the $session variable.

$session = Get-VBRAmazonRestoreSession -Session "New session"

Stop-VBRVMRestoreToAmazon -Session $session

Related Commands

Get-VBRAmazonRestoreSession