Save-VESPItem

Short Description

Saves SharePoint items.

Applies to

Veeam Backup for Microsoft 365, Veeam Backup & Replication

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

Syntax

This cmdlet provides parameter sets that allow you to:

  • Save a SharePoint document library.

Save-VESPItem [-DocumentLibrary] <VESPDocumentLibrary> [-Path] <String> [-AsZip] [-Force] [<CommonParameters>]

  • Save a specific SharePoint document.

Save-VESPItem [-Document] <VESPDocument[]> [-Path] <String> [-AsZip] [-Force] [<CommonParameters>]

  • Save a SharePoint attached item.

Save-VESPItem [-ItemAttachment] <VESPItemAttachment[]> [-Path] <String> [-AsZip] [-Force] [<CommonParameters>]

Detailed Description

This cmdlet saves SharePoint items such as document libraries, documents and attached items.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

DocumentLibrary

Specifies a SharePoint document library that you want to save.

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

True

0

True (ByValue)

Path

Specifies a path to the specified item.

String

True

1

True (ByValue)

AsZip

Defines that the cmdlet will save the specified item as a ZIP archive.

Default: False

SwitchParameter

False

Named

False

Force

Defines that the cmdlet will create a folder in the specified directory.

Default: False

SwitchParameter

False

Named

False

Document

Specifies an array of SharePoint documents that you want to save.

Accepts the VESPDocument[] object. To get this object, run the Get-VESPDocument cmdlet.

True

0

True (ByValue)

ItemAttachment

Specifies an array of SharePoint item attachments that you want to save.

Accepts the VESPItemAttachment[]object. To get this object, run the Get-VESPItemAttachment 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

None.

Examples

Save-VESPItemExample 1. Saving SharePoint Document Library [For Veeam Backup & Replication]

Save-VESPItemExample 2. Saving SharePoint Document [For Veeam Backup & Replication]

Save-VESPItemExample 3. Saving SharePoint Item Attachment [For Veeam Backup & Replication]

Save-VESPItemExample 4. Saving SharePoint Document Library [For Veeam Backup for Microsoft 365]

Save-VESPItemExample 5. Saving SharePoint Document Library from Specific Backup Job [For Veeam Backup for Microsoft 365]

Save-VESPItemExample 6. Saving SharePoint Document [For Veeam Backup for Microsoft 365]

Save-VESPItemExample 7. Saving SharePoint Item Attachment [For Veeam Backup for Microsoft 365]

Related Commands

Page updated 3/6/2025

Page content applies to build 12.3.1.1139