Get-VESPItem
Short Description
Returns SharePoint items.
Applies to
Veeam Backup & Replication, Veeam Backup for Microsoft 365
Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License
Syntax
This cmdlet provides parameter sets that allow you to:
- Get items from a SharePoint list.
|
Get-VESPItem [-List] <VESPList> [-Query <String>] [-Recurse] [<CommonParameters>] |
- Get items from a parent item.
|
Get-VESPItem [-ParentItem] <VESPItem> [-Query <String>] [-Recurse] [<CommonParameters>] |
- [For Veeam Backup & Replication] Get items from a SharePoint database.
|
Get-VESPItem [-Database] <VESPDatabase[]> [-Query <String>] [<CommonParameters>] |
- [For Veeam Backup for Microsoft 365] Get items from a SharePoint organization.
|
Get-VESPItem [-Organization] <VESPOrganization[]> [-Query <String>] [<CommonParameters>] |
- Get items from a SharePoint site.
|
Get-VESPItem [-Site] <VESPSite> [-Query <String>] [<CommonParameters>] |
Detailed Description
This cmdlet returns SharePoint items. You can get either parent and\or child items from the following backed-up sources:
- Microsoft organization
- SharePoint site
- SharePoint list
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
List |
Specifies a SharePoint list. This cmdlet will return SharePoint items from this list. |
Accepts the VESPList object. To get this object, run the Get-VESPList cmdlet. |
True |
0 |
True (ByValue) |
|
Query |
Specifies a query string for item search. The cmdlet will return items that match the search query from the specified database, organization, site, list or item. For more information, see the Appendix A. Item Search Parameters section of the Veeam Backup for Microsoft 365 User Guide. |
String |
False |
Named |
False |
|
Recurse |
Defines that the cmdlet will return all child items of the specified parent item. Default: False |
SwitchParameter |
False |
Named |
False |
|
ParentItem |
Specifies a parent item. The cmdlet will return only one sub-level child items for this item. |
Accepts the VESPItem object. To get this object, run the Get-VESPItem cmdlet. |
True |
0 |
True (ByValue) |
|
Database |
Specifies an array of SharePoint databases. The cmdlet will get items from these databases. Note: This parameter is available for SharePoint databases backed up by Veeam Backup & Replication. |
Accepts the VESPDatabase[] object. To get this object, run the Get-VESPDatabase cmdlet. |
True |
0 |
True (ByValue) |
|
Organization |
Specifies an array of SharePoint organizations. The cmdlet will return SharePoint items from these organizations. |
Accepts the VESPOrganization[] object. To get this object, run the Get-VESPOrganization cmdlet. |
True |
0 |
True (ByValue) |
|
Site |
Specifies a name of the SharePoint site. This cmdlet will return SharePoint items from the specified SharePoint site. |
Accepts the VESPSite object. To get this object, run the Get-VESPSite cmdlet. |
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.
Output Object
The cmdlet returns the VESPItem object that contains SharePoint items.
Examples
Example 1. Getting SharePoint Items from SharePoint List [For Veeam Backup & Replication]
|
This example shows how to get a SharePoint item from the Color names SharePoint list.
Perform the following steps:
|
Example 2. Getting SharePoint Child Items from SharePoint Parent Item [For Veeam Backup & Replication]
|
This example shows how to get the child items for the Reports SharePoint parent item.
Perform the following steps:
|
Example 3. Getting SharePoint Items from SharePoint Database [For Veeam Backup & Replication]
|
This example shows how to get all SharePoint items from the WSS_Content.mdf database.
Perform the following steps:
|
Example 4. Getting SharePoint Items from SharePoint Site [For Veeam Backup & Replication]
|
This example shows how to get an item from the Teams SharePoint site.
Perform the following steps:
|
Example 5. Getting SharePoint Items from SharePoint List [For Veeam Backup for Microsoft 365]
|
This example shows how to get a SharePoint item from the ABC One SharePoint list.
Perform the following steps:
|
Example 6. Getting SharePoint Child Items from SharePoint Parent Item [For Veeam Backup for Microsoft 365]
|
This example shows how to get child items for the Reports item.
Perform the following steps:
|
Example 7. Getting SharePoint Items from Microsoft Organization [For Veeam Backup for Microsoft 365]
|
This example shows how to get a SharePoint item from the ABC organization.
Perform the following steps:
|
Example 8. Getting SharePoint Items from SharePoint Site [For Veeam Backup for Microsoft 365]
|
This example shows how to get a SharePoint item from the Teams SharePoint site.
Perform the following steps:
|
Related Commands