Send-VEODDocument
Short Description
Sends OneDrive documents as mail attachements.
Applies to Veeam Backup for Microsoft Office 365
Product Edition: Community, Rental, Subscription
Syntax
This cmdlet provides parameter sets that allow you to:
- Send specific OneDrive documents.
Send-VEODDocument [-Document] <VBOOneDriveDocument[]> -To <string> [-From <string>] [-Subject <string>] [-Text <string>] [<CommonParameters>] |
- Send documents of a specific OneDrive user.
Send-VEODDocument [-User] <VBOOneDriveUser> -To <string> [-From <string>] [-Subject <string>] [-Text <string>] [<CommonParameters>] |
Detailed Description
This cmdlet sends OneDrive documents as attachments of mail messages.
|
Before sending restored OneDrive documents, you must verify that you meet the following prerequisites:
|
Parameters
Parameter | Description | Type | Required | Position | Accept Pipeline Input |
---|---|---|---|---|---|
Document | Specifies a OneDrive document. The cmdlet will send this document as an attachment to a mail message. | Accepts the Document object. To get this object, run the Get-VEODDocument cmdlet. | True | 0 | True (ByValue) |
User | Specifies the name of the OneDrive user. This cmdlet will send OneDrive document of this user. | Accepts the VBOOneDriveUser object. To get this object, run the Get-VEODDocument cmdlet. | True | 0 | True (ByValue) |
To | Specifies an email address. The cmdlet will send OneDrive document to this email address. | String | True | Named | False |
From | Specifies an email address. The cmdlet will send OneDrive document from this email address. Note: If you omit this parameter, the cmdlet will use the email address specified in SMTP settings. | String | False | Named | False |
Subject | Specifies the subject of an email message. | String | False | Named | False |
Text | Specifies the 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 OneDrive documents without checking whether the recipient certificate is valid. Otherwise, the cmdlet will not send OneDrive documents if the recipient certificate validation fails. | SwitchParameter | False | Named | False |
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Docs.
Examples
Example 1. Sending Specific OneDrive Document
This example shows how to send the Review009.txt OneDrive document of the userAlpha user with the following settings:
Perform the following steps:
|
Example 2. Sending OneDrive Documents of Specific User
This example shows how to send OneDrive documents of the userAlpha user with the following settings:
Perform the following steps:
|
Related Commands