Get-VBRSiteCollection
Short Description
Returns site collections for Microsoft SharePoint.
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.
Note |
|
This cmdlet is available for backups created with Veeam Backup & Replication. |
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
RestorePoint |
Specifies restore points. The cmdlet will get Microsoft SharePoint site collections from the specified restore points.
Accepts the |
True |
Named |
True (ByPropertyName, ByValue) |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the IVBRSiteCollection[] object that contains an array of site collections for Microsoft SharePoint.
Examples
Getting All Microsoft SharePoint Site Collections
This example shows how to get all Microsoft SharePoint site collections from a restore point.
|
$restorepoint = Get-VBRApplicationRestorePoint -SharePoint -Name "SharePoint server" Get-VBRSiteCollection -RestorePoint $restorepoint |
Perform the following steps:
- Run the
Get-VBRApplicationRestorePointcmdlet. Provide theSharePointparameter. Specify theNameparameter value. Save the result to the$restorepointvariable. - Run the
Get-VBRSiteCollectioncmdlet. Set the$restorepointvariable as theRestorePointparameter value.
Related Commands