Get-VETTeam

Short Description

Returns Microsoft Teams teams.

Product: Veeam Backup for Microsoft 365

Product Edition: Community, Rental License, Subscription License

Syntax

Get-VETTeam [-Organization] <VETOrganization> [[-DisplayName] <String[]>] [<CommonParameters>]

Detailed Description

This cmdlet returns teams for a specified Microsoft Teams organization.

Parameters

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

DisplayName

Specifies an array of display names for Microsoft Teams teams. The cmdlet will return an array of teams with these names.

This parameter accepts wildcard characters.

String[]

False

1

False

Organization

Specifies a Microsoft Teams organization. The cmdlet will return Microsoft Teams teams from this organization.

Accepts the VETOrganization object. To get this object, run the Get-VETOrganizationReturns Microsoft Teams organizations added to Veeam Backup for Microsoft 365. cmdlet.

VETOrganization

True

0

True (ByValue)

<CommonParameters>

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

Output Object

The cmdlet returns the VETTeam[] array that contains Microsoft Teams teams.

Examples

Getting Microsoft Teams Team

This example shows how to get the IT team of the ABC Microsoft Teams organization added to Veeam Backup for Microsoft 365.

$session = Get-VBOTeamsItemRestoreSession

$org = Get-VETOrganization -Session $session -Name "ABC*"

Get-VETTeam -Organization $org -DisplayName "IT"

Perform the following steps:

  1. Run the Get-VBOTeamsItemRestoreSessionReturns active restore sessions started to perform operations with backed-up Microsoft Teams items. cmdlet. Save the result to the $session variable.
  2. Run the Get-VETOrganizationReturns Microsoft Teams organizations added to Veeam Backup for Microsoft 365. 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-VETTeam cmdlet. Set the $org variable as the Organization parameter value. Specify the DisplayName parameter value.

Page updated 2026-08-20

Page content applies to build 13.1.1.18