Get-VETPost

Short Description

Returns Microsoft Teams team channel posts.

Applies to

Veeam Backup for Microsoft 365

Product Edition: Community, Rental License, Subscription License

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get posts from a channel.

Get-VETPost -Channel <VETChannel> [-Query <String>] [-Recurse] [<CommonParameters>]

  • Get posts under the specified parent post.

Get-VETPost -ParentPost <VETPost> [-Query <String>] [-Recurse] [<CommonParameters>]

  • Get posts from an organization.

Get-VETPost [-Query <String>] -Organization <VETOrganization[]> [<CommonParameters>]

  • Get posts from a team.

Get-VETPost [-Query <String>] -Team <VETTeam> [<CommonParameters>]

Detailed Description

This cmdlet returns posts published in Microsoft Teams team channels. You can get parent and child posts from the following backed-up sources:

  • Microsoft 365 organization
  • Microsoft Teams team
  • Microsoft Teams channel

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Channel

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

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

True

Named

True (ByValue)

Query

Specifies a query string for post search. The cmdlet will return posts that match the search query from the specified organization, team, channel or parent post.

String

False

Named

False

Recurse

Defines that the cmdlet will return the specified parent post and all of its child posts.

Default: False

SwitchParameter

False

Named

False

ParentPost

Specifies a parent post. The cmdlet will return child posts of this parent post.

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

True

Named

True (ByValue)

Organization

Specifies an array of Microsoft Teams organizations. The cmdlet will return posts from these organizations.

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

True

Named

True (ByValue)

Team

Specifies a Microsoft Teams team. This cmdlet will return posts from this team.

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

True

Named

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

The cmdlet returns the VETPost[] array that contains Microsoft Teams posts.

Examples

Get-VETPostExample 1. Getting Posts from Channel

Get-VETPostExample 2. Getting Posts from Parent Post

Get-VETPostExample 3 Getting Posts from Organization

Get-VETPostExample 4. Getting Posts from Team

Related Commands

Page updated 1/30/2025

Page content applies to build 12.3.1.1139