Get-VBREntraIDTenantRestoreSession
Short Description
Returns restore sessions started to recover Microsoft Entra ID tenant backups.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Get-VBREntraIDTenantRestoreSession [-Id <Guid[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns restore sessions started to recover Entra ID tenant backups. If you do not provide any parameters, the cmdlet returns all restore sessions.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Id |
Specifies an array of restore session IDs. The cmdlet will return restore sessions with these IDs. |
|
False |
Named |
False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.
Output Object
The cmdlet returns the array of VBREntraIDTenantRestoreSession objects that contain settings of restore sessions started to recover Entra ID tenant backups.
Examples
Getting Entra ID Tenant Restore Session by ID
This example shows how to get a tenant restore session by its ID.
|
$backup = Get-VBREntraIDTenantBackup -Name "Tenant backup" $tenantRestoreSession = Start-VBREntraIDTenantRestore -Backup $backup ... $session = Get-VBREntraIDTenantRestoreSession -Id $tenantRestoreSession.Id |
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
Get-VBREntraIDTenantRestoreSessioncmdlet. Set the$tenantRestoreSession.Idvariable as theIdparameter value. Save the result to the$sessionvariable.
Related Commands
Get-VBREntraIDTenantBackupReturns backups of Microsoft Entra ID tenants.Start-VBREntraIDTenantRestoreStarts a restore session for a Microsoft Entra ID tenant.