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

Get-VETFile

Short Description

Returns Microsoft Teams files.

Applies to

Veeam Backup for Microsoft 365

Product Edition: Community, Standard, Enterprise, Enterprise Plus, Veeam Universal License

Syntax

This cmdlet provides parameter sets that allow you to:

  • Get files from a channel.

Get-VETFile -Channel <VETChannel> [-Query <string>] [-Recurse]  [<CommonParameters>]

  • Get files under the specified folder.

Get-VETFile -Channel <VETChannel> -ParentFile <VETFile> [-Query <string>] [-Recurse]  [<CommonParameters>]

  • Get files from an organization.

Get-VETFile -Organization <VETOrganization[]> [-Query <string>]  [<CommonParameters>]

  • Get files from a team.

Get-VETFile -Team <VETTeam> [-Query <string>]  [<CommonParameters>]

Detailed Description

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

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

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Channel

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

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

True

Named

True (ByValue)

False

ParentFile

Specifies a folder. The cmdlet will return files from this folder.

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

True

Named

True (ByValue)

False

Organization

Specifies an organization. The cmdlet will return files from this organization.

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

True

Named

True (ByValue)

False

Team

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

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

True

Named

True (ByValue)

False

Query

Specifies a query string for file search. The cmdlet will return files that match the search query from the specified organization, team, channel or folder.

String

False

Named

False

False

Recurse

Defines that the cmdlet will return the specified folder and all files in this folder.

SwitchParameter

False

Named

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

The cmdlet returns the VETFile object that contains Microsoft Teams files.

Examples

Get-VETFileExample 1. Getting Files from Channel

Get-VETFileExample 2. Getting Files from Organization

Get-VETFileExample 3. Getting Files from Team

Related Commands