Stop-VBREntraIDTenantRestore

Short Description

Stops a Microsoft Entra ID tenant restore session.

Applies to

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

Syntax

Stop-VBREntraIDTenantRestore -Session <VBREntraIDTenantRestoreSession> [-Graceful] [<CommonParameters>]

Detailed Description

This cmdlet stops an Entra ID tenant restore session. Use this cmdlet when you do not plan to restore any tenant data.

Parameters

Parameter

Description

Type

Required

Position

Accept
Pipeline
Input

Session

Specifies the session launched to restore a tenant. The cmdlet will stop this session.

Accepts the VBREntraIDTenantRestoreSession object. To create this object, run the Start-VBREntraIDTenantRestore cmdlet.

True

Named

False

Graceful

Defines that the cmdlet will stop the session gracefully.

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

This example shows how to stop a tenant restore session.

$backup = Get-VBREntraIDTenantBackup -Name "Tenant backup"

$tenantRestoreSession = Start-VBREntraIDTenantRestore -Backup $backup

...

Stop-VBREntraIDTenantRestoreSession -Session $tenantRestoreSession -Graceful

Perform the following steps:

  1. Run the Get-VBREntraIDTenantBackup cmdlet. Specify the Name parameter value. Save the result to the $backup variable.
  2. Run the Start-VBREntraIDTenantRestore cmdlet. Set the $backup variable as the Backup parameter value. Save the result to the $tenantRestoreSession variable.
  3. Run the Stop-VBREntraIDTenantRestoreSession cmdlet. Set the $tenantRestoreSession variable as the Session parameter value. Specify the Graceful parameter value.

Related Commands

Page updated 11/13/2024

Page content applies to build 12.3.0.310