Get-VBRSiteCollection
Short Description
Returns site collections for Microsoft SharePoint.
Applies to: Veeam Backup & Replication
Product Edition: Community, Standard, Enterprise, Enterprise Plus
Syntax
Get-VBRSiteCollection -RestorePoint <VBRApplicationRestorePoint[]> [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of site collections for Microsoft SharePoint.
|
This cmdlet is available for backups created with Veeam Backup & Replication. |
Parameters
Parameter | Description | Required | Position | Accept | Accept |
RestorePoint | Specifies a restore session. The cmdlet will return the information about the Microsoft SharePoint site collections. Accepts the IVBRApplicationRestorePoint object. To get this object, run the Get-VBRApplicationRestorePoint cmdlet. | True | 0 | True (ByValue) |
|
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.
Return Type
IVBRSiteCollection
Example
This example shows how to get all Microsoft SharePoint site collections.
- Run Get-VBRApplicationRestorePoint to get a restore point. Save the result to the $spoint variable.
- Run Get-VBRSiteCollection with the $session variable.
$spoint = Get-VBRApplicationRestorePoint -SharePoint -Name "Sharepoint server" Get-VBRSiteCollection -RestorePoint $spoint |
Related Commands