Send-VETItem

Short Description

Sends Microsoft Teams items as email attachments.

Applies to

Veeam Backup for Microsoft 365

Product Edition: Community, Rental License, Subscription License

Syntax

This cmdlet provides parameter sets that allow you to:

  • Send a Microsoft Teams channel post.

Send-VETItem -To <String> [-From <String>] [-Subject <String>] [-Body <String>] [-Post] <VETPost[]> [<CommonParameters>]

  • Send a file published in a Microsoft Teams team channel.

Send-VETItem -To <String> [-From <String>] [-Subject <String>] [-Body <String>] [-File] <VETFile[]> [<CommonParameters>]

Detailed Description

This cmdlet sends Microsoft Teams items as attachments in an email message.

Note

Before sending Microsoft Teams items, you must perform the following actions:

  • Specify email settings for Veeam Explorer for Microsoft Teams. For more information on how to specify email settings, see Set-VETMailSettings.
  • Start a restore session. For more information on how to start a restore session, see Start-VBOTeamsItemRestoreSession.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

To

Specifies an email address to which Veeam Explorer for Microsoft Teams will send Microsoft Team items.

String

True

Named

False

From

Specifies an email address from which Veeam Explorer for Microsoft Teams will send Microsoft Team items.

If this parameter is omitted, Veeam Explorer for Microsoft Teams will use the email address specified in email settings.

String

False

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

Post

Specifies Microsoft Teams team channel posts. The cmdlet will send posts in the email message.

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

True

0

True (ByValue)

File

Specifies Microsoft Teams team channel files. The cmdlet will send these files in the email message.

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

Send-VETItemExample 1. Sending Microsoft Teams Post

Send-VETItemExample 2. Sending Microsoft Teams File

Related Commands

Page updated 3/6/2025

Page content applies to build 12.3.1.1139