Send-VEODDocument
Short Description
Sends OneDrive documents as attachments to emails.
Product: Veeam Backup for Microsoft 365
Product Edition: Community, Rental License, Subscription License
Syntax
This cmdlet provides the following parameter sets:
-
DocumentSend-VEODDocument [-Document] <VBOOneDriveDocument[]> [-From <String>] -To <String> [-Subject <String>]
[-Text <String>] [-Force] [<CommonParameters>]
-
UserSend-VEODDocument [-User] <VBOOneDriveUser> [-From <String>] -To <String> [-Subject <String>] [-Text <String>]
[-Force] [<CommonParameters>]
Detailed Description
This cmdlet sends OneDrive documents as attachments of mail messages.
Note |
|
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 an array of OneDrive documents. The cmdlet will send these documents as an attachment in the email message.
Accepts the |
True |
0 |
True (ByValue) |
|
|
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. Default: False |
|
False |
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 email settings. |
|
False |
Named |
False |
|
Subject |
Specifies a subject of an email message. |
|
False |
Named |
False |
|
Text |
Specifies a body of an email message. |
|
False |
Named |
False |
|
To |
Specifies an email address. The cmdlet will send OneDrive document to this email address. |
|
True |
Named |
False |
|
User |
Specifies a name of the OneDrive user. This cmdlet will send OneDrive document of this user.
Accepts the |
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 Learn.
Examples
Example 1. Sending Specific OneDrive Document
|
This example shows how to send the
Perform the following steps:
|
Example 2. Sending OneDrive Documents of Specific User
|
This example shows how to send OneDrive documents of the
Perform the following steps:
|
Related Commands
Get-VEODRestoreSessionReturns active restore sessions started to perform operations with backed-up OneDrive items.Get-VEODUserReturns OneDrive users.Get-VEODDocumentReturns OneDrive documents.