Save-VETItem

Short Description

Saves Microsoft Teams items.

Applies to

Veeam Backup for Microsoft 365

Product Edition: Community, Rental License, Subscription License

Syntax

This cmdlet provides parameter sets that allow you to:

  • Save a Microsoft Teams channel post.

Save-VETItem [-Post] <VETPost[]> [-Path] <String> [-Force] [<CommonParameters>]

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

Save-VETItem [-File] <VETFile[]> [-Path] <String> [-AsZip] [-Force] [<CommonParameters>]

Detailed Description

This cmdlet saves Microsoft Teams items such as posts and files.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Post

Specifies Microsoft Teams team channel posts that you want to save.

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

True

0

True (ByValue)

Path

Specifies a path to a folder where you want to save the specified posts or files.

If you want to save files as a ZIP archive, specify a path to the ZIP archive file.

String

True

1

False

Force

Defines that the cmdlet will create a folder in the specified path if the folder does not exist yet.

Default: False

SwitchParameter

False

Named

False

File

Specifies Microsoft Teams team channel files that you want to save.

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

True

0

True (ByValue)

AsZip

Defines that the cmdlet will save the specified files as a ZIP archive.

Default: False

SwitchParameter

False

2

False

<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

Save-VETItemExample 1. Saving Microsoft Teams Post

Save-VETItemExample 2. Saving Microsoft Teams File

Related Commands

Page updated 3/6/2025

Page content applies to build 12.3.1.1139