Stop-VBREntraIDTenantRestore
Short Description
Stops a Microsoft Entra ID tenant restore session.
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 |
|---|---|---|---|---|---|
|
Graceful |
Defines that the cmdlet will stop the session gracefully. |
|
False |
Named |
False |
|
Session |
Specifies the session launched to restore a tenant. The cmdlet will stop this session.
Accepts the |
True |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Examples
Stopping Entra ID Tenant Restore Session
This example shows how to stop a tenant restore session.
|
$backup = Get-VBREntraIDTenantBackup -Name "Tenant backup" $tenantRestoreSession = Start-VBREntraIDTenantRestore -Backup $backup ... Stop-VBREntraIDTenantRestore -Session $tenantRestoreSession -Graceful |
Perform the following steps:
- Run the
Get-VBREntraIDTenantBackupReturns backups of Microsoft Entra ID tenants. cmdlet. Specify theNameparameter value. Save the result to the$backupvariable. - Run the
Start-VBREntraIDTenantRestoreStarts a restore session for a Microsoft Entra ID tenant. cmdlet. Set the$backupvariable as theBackupparameter value. Save the result to the$tenantRestoreSessionvariable. - Run the
Stop-VBREntraIDTenantRestoreSessioncmdlet. Set the$tenantRestoreSessionvariable as theSessionparameter value. Provide theGracefulparameter.
Related Commands
Get-VBREntraIDTenantBackupReturns backups of Microsoft Entra ID tenants.Start-VBREntraIDTenantRestoreStarts a restore session for a Microsoft Entra ID tenant.