Stop-VBRSharePointItemRestoreSession
Short Description
Stops active restore sessions for Microsoft SharePoint.
Applies to: Veeam Backup & Replication
Product Edition: Community, Standard, Enterprise, Enterprise Plus
Syntax
Stop-VBRSharePointItemRestoreSession [-Session] <SharePointRestoreSession> [<CommonParameters>] |
Detailed Description
This cmdlet stops active restore sessions for Microsoft SharePoint.
|
Mind the following:
|
Parameters
Parameter | Description | Required | Position | Accept | Accept |
Session | Specifies a restore session for Microsoft SharePoint that you want to stop. Accepts the SharePointRestoreSession object. To get this object, run the Get-VBOSharePointItemRestoreSession cmdlet. | True | 0 | True (ByValue) | 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
Example
This example shows how to stop a restore session for Microsoft SharePoint.
- Run the Get-VBRSharePointItemRestoreSession cmdlet to get the restore session of Microsoft SharePoint that you want to stop. Save the result to the $session variable.
- Run the Stop-VBRSharePointItemRestoreSession cmdlet with the $session variable.
$session = Get-VBRSharePointItemRestoreSession Stop-VBRSharePointItemRestoreSession -Session $session |
Related Commands