---
title: "Send-VETItem"
description: "Sends Microsoft Teams items as email attachments. Product: Veeam Backup for Microsoft 365 Product Edition: Community, Rental License, Subscription License This cmdlet provides the following parameter sets: This cmdlet sends Microsoft Teams items as a"
canonical: "https://helpcenter.veeam.com/docs/vbo365/explorers_powershell/send-vetitem.html"
breadcrumb: "Veeam Explorers PowerShell Reference > Veeam Explorers PowerShell Reference > Veeam Explorer for Microsoft Teams > Send-VETItem"
dateModified: "2026-08-20"
---
# Send-VETItem
## Short Description
Sends Microsoft Teams items as email attachments.
**Product**: Veeam Backup for Microsoft 365
**Product Edition**: Community, Rental License, Subscription License
## Syntax
This cmdlet provides the following parameter sets:
-
SendPostParameterSet
```
Send-VETItem -To [-From ] [-Subject ] [-Body ] [-Post] []
```
-
SendFileParameterSet
```
Send-VETItem -To [-From ] [-Subject ] [-Body ] [-File] []
```
## 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`](set-vetmailsettings.md).
- Start a restore session. For more information on how to start a restore session, see [`Start-VBOTeamsItemRestoreSession`](start-vboteamsitemrestoresession.md).
:::
## Parameters
|
Parameter
|
Description
|
Type
|
Required
|
Position
|
Accept Pipeline Input
|
|
Body
|
Specifies a body of an email message.
|
String
|
False
|
Named
|
False
|
|
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.
|
VETFile[]
|
True
|
0
|
True (ByValue)
|
|
From
|
Specifies an email address from which Veeam Explorer for Microsoft Teams will send Microsoft Teams items. If this parameter is omitted, Veeam Explorer for Microsoft Teams will use the email address specified in email settings.
|
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.
|
VETPost[]
|
True
|
0
|
True (ByValue)
|
|
Subject
|
Specifies a subject of an email message.
|
String
|
False
|
Named
|
False
|
|
To
|
Specifies an email address to which Veeam Explorer for Microsoft Teams will send Microsoft Teams items.
|
String
|
True
|
Named
|
False
|
``
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the [About Common Parameters](http://go.microsoft.com/fwlink/p/?LinkID=113216) section of Microsoft Learn.
## Examples
::: example
### Example 1. Sending Microsoft Teams Post
This example shows how to send the `Announcement` post to the `administrator@test.local` mailbox.
```
$session = Get-VBOTeamsItemRestoreSession
$org = Get-VETOrganization -Session $session -Name "ABC*"
$post = Get-VETPost -Organization $org -Query "subject: announcement"
Send-VETItem -Post $post -To administrator@test.local
```
Perform the following steps:
1. Get the Microsoft Teams post:
1. Run the [`Get-VBOTeamsItemRestoreSession`](get-vboteamsitemrestoresession.md) cmdlet. Save the result to the `$session` variable.
2. Run the [`Get-VETOrganization`](get-vetorganization.md) cmdlet. Set the `$session` variable as the `Session` parameter value. Specify the `Name` parameter value. Use the \* wildcard character to substitute the timestamp. Save the result to the `$org` variable.
3. Run the [`Get-VETPost`](get-vetpost.md) cmdlet. Set the `$org` variable as the `Organization` parameter value. Specify the `Query` parameter value. Save the result to the `$post` variable.
2. Run the `Send-VETItem` cmdlet. Set the `$post` variable as the `Post` parameter value. Specify the `To` parameter value.
:::
::: example
### Example 2. Sending Microsoft Teams File
This example shows how to send the `report.txt` file to the `administrator@test.local` mailbox.
```
$session = Get-VBOTeamsItemRestoreSession
$org = Get-VETOrganization -Session $session -Name "ABC*"
$file = Get-VETFile -Organization $org -Query "filename: report"
Send-VETItem -File $file -To administrator@test.local
```
Perform the following steps:
1. Get the Microsoft Teams file:
1. Run the [`Get-VBOTeamsItemRestoreSession`](get-vboteamsitemrestoresession.md) cmdlet. Save the result to the `$session` variable.
2. Run the [`Get-VETOrganization`](get-vetorganization.md) cmdlet. Set the `$session` variable as the `Session` parameter value. Specify the `Name` parameter value. Use the \* wildcard character to substitute the timestamp. Save the result to the `$org` variable.
3. Run the [`Get-VETFile`](get-vetfile.md) cmdlet. Set the `$org` variable as the `Organization` parameter value. Specify the `Query` parameter value. Save the result to the `$file` variable.
2. Run the `Send-VETItem` cmdlet. Set the `$file` variable as the `File` parameter value. Specify the `To` parameter value.
:::
## Related Commands
- [`Get-VBOTeamsItemRestoreSession`](get-vboteamsitemrestoresession.md)
- [`Get-VETOrganization`](get-vetorganization.md)
- [`Get-VETPost`](get-vetpost.md)
- [`Get-VETFile`](get-vetfile.md)