This is an archive version of the document. To get the most up-to-date information, see the current version.

Export-VETPost

Short Description

Exports Microsoft Teams posts.

Applies to: Veeam Backup for Microsoft Office 365

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

This cmdlet provides parameter sets that allow you to:

  • Export specified posts.

Export-VETPost [-Post] <VETPost[]> [-Path] <string> [-Force]  [<CommonParameters>]

  • Export posts of a specified channel.

Export-VETPost [-Channel] <VETChannel> [-Path] <string> [-From] <DateTime> [[-To] <DateTime>] [-Force]  [<CommonParameters>]

Detailed Description

This cmdlet exports posts published in Microsoft Teams team channels to HTML files.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Post

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

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

True

0

True (ByValue)

False

Channel

Specifies a Microsoft Teams team channel. The cmdlet will export posts from this channel.

Accepts the VETChannel object. To get this object, run the Get-VETChannel cmdlet.

True

0

True (ByValue)

False

Path

Specifies a path to the folder and a name for the HTML file where you want to export posts.

String

True

1

False

False

Force

Defines that the cmdlet will create the folder where to save the HTML file if the specified folder does not exist.

SwitchParameter

False

Named

False

False

From

Specifies the point in time that defines the start of the period for which you want to export posts.

The cmdlet will export posts created within the specified time period.

DateTime

False

2

False

False

To

Specifies the point in time that defines the end of the period for which you want to export posts.

The cmdlet will export posts created within the specified time period.

DateTime

False

3

False

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Docs.

Output Object

None.

Examples

Export-VETItemExample 1. Exporting Specified Posts

Export-VETItemExample 2. Exporting Posts of Specified Channel

Related Commands