Get-VBRSiteCollection

Short Description

Returns site collections for Microsoft SharePoint.

Applies to

Veeam Backup & Replication

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

Get-VBRSiteCollection -RestorePoint <VBRApplicationRestorePoint[]> [<CommonParameters>]

Detailed Description

This cmdlet returns an array of site collections for Microsoft SharePoint.

Get-VBRSiteCollection Note:

This cmdlet is available for backups created with Veeam Backup & Replication.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

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.

Output Object

The cmdlet returns the IVBRSiteCollection object that contains an array of site collections for Microsoft SharePoint.

Example

Getting All Microsoft SharePoint Site Collections

This example shows how to get all Microsoft SharePoint site collections.

$restorepoint = Get-VBRApplicationRestorePoint -SharePoint -Name "SharePoint server"

Get-VBRSiteCollection -RestorePoint $restorepoint

Perform the following steps:

  1. Run the Get-VBRApplicationRestorePoint cmdlet. Specify the SharePoint and Name parameters. Save the result to the $restorepoint variable.
  2. Run the Get-VBRSiteCollection cmdlet. Set the $restorepoint variable as the RestorePoint parameter value.

Related Commands

Get-VBRApplicationRestorePoint

Page updated 8/24/2023

Page content applies to build 12.1.1.56