--- title: "Export-VESPItem" description: "Exports SharePoint items. Product: Veeam Backup & Replication Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License This cmdlet provides the following parameter sets: This cmdlet exports SharePoint lists and d" canonical: "https://helpcenter.veeam.com/docs/vbr/explorers_powershell/export-vespitem.html" breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Microsoft SharePoint > Export-VESPItem" dateModified: "2026-08-18" --- # Export-VESPItem ## Short Description Exports SharePoint items. **Product**: Veeam Backup & Replication **Product Edition**: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License ## Syntax This cmdlet provides the following parameter sets: ## Detailed Description This cmdlet exports SharePoint lists and document libraries. ::: note Consider the following: - This cmdlet is available for backups created with Veeam Backup & Replication. - Before performing export operations, you must first start a restore session. For more information, see [`Start-VBRSharePointItemRestoreSession`](start-vbrsharepointitemrestoresession.md). ::: ## Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

DocumentLibrary

Specifies a SharePoint document library. This cmdlet will export the specified SharePoint document library.

Accepts the VESPDocumentLibrary object. To get this object, run the Get-VESPDocumentLibrary cmdlet.

VESPDocumentLibrary

True

0

True (ByValue)

Force

Defines that the cmdlet will create a folder in the specified directory and will overwrite the existing item with the same name.

Default: False

SwitchParameter

False

Named

False

List

Specifies a SharePoint list. This cmdlet will export the specified SharePoint list.

Accepts the VESPList object. To get this object, run the Get-VESPList cmdlet.

VESPList

True

0

True (ByValue)

Path

Specifies a path to the export destination directory.

String

True

Named

True (ByValue)

`` This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Docs. ## Examples ::: example ### Example 1. Exporting SharePoint Document Library [For Veeam Backup & Replication] This example shows how to export the SharePoint document library to the `C:\ExportedDocLibrary` folder. ``` $session = Get-VBRSharePointItemRestoreSession $database = Get-VESPDatabase -Session $session -Name "WSS_Content.mdf" $doclib = Get-VESPDocumentLibrary -Database $database -Name "Document_Library" Export-VESPItem -DocumentLibrary $doclib -Path "C:\ExportedDocLibrary" -Force ``` Perform the following steps: 1. Get the SharePoint document library: 1. Run the [`Get-VBRSharePointItemRestoreSession`](get-vbrsharepointitemrestoresession.md) cmdlet. Save the result to the `$session` variable. 2. Run the [`Get-VESPDatabase`](get-vespdatabase.md) cmdlet. Set the `$session` variable as the `Session` parameter value. Specify the `Name` parameter value. Save the result to the `$database` variable. 3. Run the [`Get-VESPDocumentLibrary`](get-vespdocumentlibrary.md) cmdlet. Set the `$database` variable as the `Database` parameter value. Specify the `Name` parameter value. Save the result to the `$doclib` variable. 2. Run the `Export-VESPItem` cmdlet. Set the `$doclib` variable as the `DocumentLibrary` parameter value. Specify the `Path` parameter value. Provide the `Force` parameter. ::: ::: example ### Example 2. Exporting SharePoint List [For Veeam Backup & Replication] This example shows how to export the `Calendar` SharePoint list to the `C:\ExportedLists` folder. ``` $restorepoint = Get-VBRApplicationRestorePoint -SharePoint -Name "SharePoint server" $session = Start-VBRSharePointItemRestoreSession -RestorePoint $restorePoint $database = Get-VESPDatabase -Session $session -Name "WSS_Content.mdf" $site = Get-VESPSite -Database $database -Name "Home" $list = Get-VESPList -Site $site -Name "Calendar" Export-VESPItem -List $list -Path C:\ExportedLists -Force ``` Perform the following steps: 1. Get the SharePoint list: 1. Run the [`Get-VBRApplicationRestorePoint`](https://helpcenter.veeam.com/docs/vbr/powershell/get-vbrapplicationrestorepoint.html?ver=13) cmdlet. Specify the `SharePoint` parameter value. Specify the `Name` parameter value. Save the result to the `$restorepoint` variable. 2. Run the [`Start-VBRSharePointItemRestoreSession`](start-vbrsharepointitemrestoresession.md) cmdlet. Set the `$restorePoint` variable as the `RestorePoint` parameter value. Save the result to the `$session` variable. 3. Run the [`Get-VESPDatabase`](get-vespdatabase.md) cmdlet. Set the `$session` variable as the `Session` parameter value. Specify the `Name` parameter value. Save the result to the `$database` variable. 4. Run the [`Get-VESPSite`](get-vespsite.md) cmdlet. Set the `$database` variable as the `Database` parameter value. Specify the `Name` parameter value. Save the result to the `$site` variable. 5. Run the [`Get-VESPList`](get-vesplist.md) cmdlet. Set the `$site` variable as the `Site` parameter value. Specify the `Name` parameter value. Save the result to the `$list` variable. 2. Run the `Export-VESPItem` cmdlet. Set the `$list` variable as the `List` parameter value. Specify the `Path` parameter value. Provide the `Force` parameter. ::: ## Related Commands - [`Get-VBRApplicationRestorePoint`](https://helpcenter.veeam.com/docs/vbr/powershell/get-vbrapplicationrestorepoint.html?ver=13) - [`Start-VBRSharePointItemRestoreSession`](start-vbrsharepointitemrestoresession.md) - [`Get-VESPDocumentLibrary`](get-vespdocumentlibrary.md) - [`Get-VESPDatabase`](get-vespdatabase.md) - [`Get-VESPSite`](get-vespsite.md) - [`Get-VESPList`](get-vesplist.md)