Get-VETTeam

Short Description

Returns Microsoft Teams teams.

Applies to: Veeam Backup for Microsoft Office 365

Product Edition: Community, Standard, Enterprise, Enterprise Plus

Syntax

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

Detailed Description

This cmdlet returns teams for a specified Microsoft Teams organization.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Organization

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

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

True

0

True (ByValue)

False

DisplayName

Specifies a display name of a Microsoft Teams team. The cmdlet will return an array of teams with this name.

String[]

False

1

False

True

<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 VETTeam object that contains Microsoft Teams teams.

Example

Getting Microsoft Teams Teams

This example shows how to get the IT team of the ABC Microsoft Teams organization added to Veeam Backup for Microsoft Office 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-VBOTeamsItemRestoreSession cmdlet. Save the result to the $session variable.
  2. Run the Get-VETOrganization cmdlet. Set the $session variable as the Session parameter value. Specify the Name parameter value. 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.

Related Commands

I want to report a typo

There is a misspelling right here:

 

I want to let the Veeam Documentation Team know about that.