Get-VESPList
Short Description
Returns SharePoint lists.
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:
- [For Veeam Backup & Replication] Get lists from a backed-up SharePoint database.
 
Get-VESPList [-Database] <VESPDatabase> [[-Name] <String[]>] [<CommonParameters>]  | 
- [For Veeam Backup for Microsoft 365] Get lists from the Microsoft organization.
 
Get-VESPList [-Organization] <VESPOrganization> [[-Name] <String[]>] [<CommonParameters>]  | 
- Get lists from the SharePoint site.
 
Get-VESPList [-Site] <VESPSite> [[-Name] <String[]>] [-Recurse] [<CommonParameters>]  | 
Detailed Description
This cmdlet returns SharePoint lists.
Parameters
Parameter  | Description  | Type  | Required  | Position  | Accept Pipeline Input  | 
|---|---|---|---|---|---|
Database  | Specifies a SharePoint database. The cmdlet will return SharePoint lists from this database.  | Accepts the VESPDatabase object. To get this object, run the Get-VESPDatabase cmdlet.  | True  | 0  | True (ByValue)  | 
Name  | Specifies an array of SharePoint list names. This cmdlet will return SharePoint lists with the specified names. This parameter accepts wildcard characters.  | String[]  | False  | 1  | False  | 
Organization  | Specifies a SharePoint organization. The cmdlet will return SharePoint lists from this organization.  | 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 lists from the specified SharePoint site.  | Accepts the VESPSite object. To get this object, run the Get-VESPSite cmdlet.  | True  | 0  | True (ByValue)  | 
Recurse  | Defines that the cmdlet will return all child items of the specified parent item. Default: False  | SwitchParameter  | False  | Named  | False  | 
<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 VESPList[] array that contains SharePoint document libraries.
Examples
Example 1. Getting SharePoint Lists from Backed-Up SharePoint Database [For Veeam Backup & Replication]
This example shows how to get all SharePoint lists from the WSS_Content.mdf backed-up SharePoint database. 
 Perform the following steps: 
  | 
Example 2. Getting SharePoint List from SharePoint Site [For Veeam Backup & Replication]
This example shows how to get the Color names SharePoint list from the Teams SharePoint site. 
 Perform the following steps: 
 
 
  | 
Example 3. Getting SharePoint List from Microsoft Organization [For Veeam Backup for Microsoft 365]
This example shows how to get the Color names SharePoint list from the ABC SharePoint organization. 
 Perform the following steps: 
  | 
Example 4. Getting SharePoint List from SharePoint Site [For Veeam Backup for Microsoft 365]
This example shows how to get the Color SharePoint list from the Team Site SharePoint site. 
 Perform the following steps: 
 
 
  | 
Related Commands