Send-VESPItem
Short Description
Sends SharePoint items as attachments to emails.
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:
- Send a SharePoint document library.
|
Send-VESPItem [-DocumentLibrary] <VESPDocumentLibrary> [-From <String>] -To <String> [-Subject <String>] [-Body <String>] [-Force] [<CommonParameters>] |
- Send a SharePoint document.
|
Send-VESPItem [-Document] <VESPDocument[]> [-From <String>] -To <String> [-Subject <String>] [-Body <String>] [-Force] [<CommonParameters>] |
- Send a SharePoint attachment file.
|
Send-VESPItem [-Attachment] <VESPItemAttachment[]> [-From <String>] -To <String> [-Subject <String>] [-Body <String>] [-Force] [<CommonParameters>] |
Detailed Description
This cmdlet sends the following backed-up SharePoint items as email message attachments:
- SharePoint document libraries.
- SharePoint documents.
- Microsoft organization attachments.
|
Note |
|
Before sending restored SharePoint organization attachments, check the following prerequisites:
|
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
DocumentLibrary |
Specifies a SharePoint document library. The cmdlet will send this document library as an attachment in the email message. |
Accepts the VESPDocumentLibrary object. To get this object, run the Get-VESPDocumentLibrary cmdlet. |
True |
0 |
True (ByValue) |
|
From |
Specifies an email address from which the cmdlet will send backed-up SharePoint data. If this parameter is omitted, the cmdlet will use the email address, specified in email settings. |
String |
False |
Named |
False |
|
To |
Specifies an email address to which the cmdlet will send restored data. |
String |
True |
Named |
False |
|
Subject |
Specifies a subject of an email message. |
String |
False |
Named |
False |
|
Body |
Specifies a body of an email message. |
String |
False |
Named |
False |
|
Force |
Defines that the cmdlet will skip the certificate check of the recipient. If you provide this parameter, the cmdlet will send SharePoint attachments without checking whether the recipient certificate is valid. Otherwise, the cmdlet will not send SharePoint attachments if the recipient certificate validation fails. Default: False |
SwitchParameter |
False |
Named |
False |
|
Document |
Specifies an array of SharePoint documents that you want to send in the email message. |
Accepts the VESPDocument[] object. To get this object, run the Get-VESPDocument cmdlet. |
True |
0 |
True (ByValue) |
|
Attachment |
Specifies an array of SharePoint attachments that you want to send in the email message. |
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 Common Parameters section of Microsoft Docs.
Output Object
None.
Examples
Example 1. Sending SharePoint Document Library [For Veeam Backup & Replication]
|
This example shows how to send the Regulations document library to the administrator@test.local mailbox.
Perform the following steps:
|
Example 2. Sending SharePoint Document [For Veeam Backup & Replication]
|
This example shows how to send the reports.txt document to the administrator@test.local mailbox.
Perform the following steps:
|
Example 3. Sending SharePoint Attachment [For Veeam Backup & Replication]
|
This example shows how to send the attachments of the Reports SharePoint item to the administrator@test.local mailbox.
Perform the following steps:
|
Example 4. Sending SharePoint Document Library [For Veeam Backup for Microsoft 365]
|
This example shows how to send the Regulations document library to the administrator@test.local mailbox.
Perform the following steps:
|
Example 5. Sending SharePoint Document [For Veeam Backup for Microsoft 365]
|
This example shows how to send the reports.txt document to the administrator@test.local mailbox.
Perform the following steps:
|
Example 6. Sending SharePoint Attachment [For Veeam Backup for Microsoft 365]
|
This example shows how to send the attachments to the Reports SharePoint item to the administrator@test.local mailbox.
Perform the following steps:
|
Related Commands