Stop-VBREntraIDTenantItemRestoreSession
Short Description
Stops a session launched to restore Microsoft Entra ID items or their attributes.
Product Edition: Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Stop-VBREntraIDTenantItemRestoreSession -Session <VBREntraIDTenantItemRestoreSession> [<CommonParameters>] |
Detailed Description
This cmdlet stops a restore session launched to restore Entra ID items (users, groups and so on) or their attributes.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Session |
Specifies the restore session launched for the item or attribute restore. 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 Item Restore Session
This example shows how to stop an item restore session.
|
... $itemRestoreSession = Get-VBREntraIDTenantItemRestoreSession -Id $itemRestoreSessionId -ParentSession $tenantRestoreSession Stop-VBREntraIDTenantItemRestoreSession -Session $itemRestoreSession |
Perform the following steps:
- Run the
Get-VBREntraIDTenantItemRestoreSessionReturns a restore session launched for the item or attribute restore. cmdlet. Specify the following settings:- Set the
$itemRestoreSessionIdvariable as theIdparameter value. - Set the
$tenantRestoreSessionvariable as theParentSessionparameter value. - Save the result to the
$itemRestoreSessionvariable.
- Set the
- Run the
Stop-VBREntraIDTenantItemRestoreSessioncmdlet. Set the$itemRestoreSessionvariable as theSessionparameter value.
Related Commands
Get-VBREntraIDTenantItemRestoreSessionReturns a restore session launched for the item or attribute restore.