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

Stop-VBRVMRestoreToAzure

Short Description

Stops running VM backup restore to Microsoft Azure sessions.

Applies to

Platform: VMware, Hyper-V

Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Stop-VBRVMRestoreToAzure -Session <VBRAzureRestoreSession> [-Wait]  [<CommonParameters>]

Detailed Description

This cmdlet stops a selected VM backup restore to Microsoft Azure session.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Session

Specifies the restore session you want to stop.

True

Named

True (ByValue,
ByProperty
Name)

False

Wait

Indicates that the command waits for the process to complete before accepting more input.

False

Named

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Return Type

VBRAzureRestoreSession

Example

This example shows how to stop the most recent restore to Azure session:

  1. Get the most recent restore to Azure session: run Get-VBRAzureRestoreSession and save the result to the $session variable.
  2. Run Stop-VBRVMRestoreToAzure with the saved variable.

$session = Get-VBRAzureRestoreSession | Sort-Object CreationTime -Descending | Select -First 1

Stop-VBRVMRestoreToAzure -Session $session

Related Commands

Get-VBRAzureRestoreSession