Stop-VBRSharePointItemRestoreSession
Short Description
Stops active restore sessions initiated to perform operations with SharePoint databases.
Product: Veeam Backup & Replication
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
|
Stop-VBRSharePointItemRestoreSession [-Session] <SharePointRestoreSession> [<CommonParameters>] |
Detailed Description
This cmdlet stops active restore sessions for Microsoft SharePoint initiated to perform operations with Microsoft SharePoint databases.
Note |
|
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Session |
Specifies a restore session that you want to stop.
Accepts the |
|
True |
0 |
True (ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Docs.
Examples
Stopping Restore Session
This example shows how to stop a restore session for Veeam Explorer for Microsoft SharePoint.
|
$session = Get-VBRSharePointItemRestoreSession Stop-VBRSharePointItemRestoreSession -Session $session |
Perform the following steps:
- Run the
Get-VBRSharePointItemRestoreSessionReturns active restore sessions started to perform operations with backed-up Microsoft SharePoint databases. cmdlet. Save the result to the$sessionvariable. - Run the
Stop-VBRSharePointItemRestoreSessioncmdlet. Set the$sessionvariable as theSessionparameter value.
Related Commands
Get-VBRSharePointItemRestoreSessionReturns active restore sessions started to perform operations with backed-up Microsoft SharePoint databases.