Get-VBOOrganizationTeam

Short Description

Returns organization teams.

Syntax

This cmdlet provides the following parameter sets.

  • Get all teams of the specified organization.

Get-VBOOrganizationTeam -Organization <VBOOrganization> [-NotInJob]  [<CommonParameters>]

  • Get an organization team with the specified ID.

Get-VBOOrganizationTeam -Organization <VBOOrganization> [-Id <guid>] [-NotInJob]  [<CommonParameters>]

  • Get an organization team with the specified name.

Get-VBOOrganizationTeam -Organization <VBOOrganization> [-DisplayName <string>] [-NotInJob]  [<CommonParameters>]

Detailed Description

This cmdlet returns organization teams.

Parameters

Parameter

Description

Required

Position

Accept
Pipeline
Input

Accept
Wildcard
Characters

Id

Specifies the team ID. This cmdlet returns the team with the specified ID.

False

Named

False

False

DisplayName

Specifies the display name of a team. This cmdlet returns the team with the specified display name.

False

Named

False

False

Organization

Specifies an organization. This cmdlet returns teams of a specified organization.

True

Named

True (ByValue)

False

NotInJob

Indicates that the cmdlet will return teams that are not added to any of the backup jobs.

Teams that are backed up by the "EntireOrganization" job are considered to be "NotInJob" as well.

False

Named

False

True

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see Microsoft Docs.

Example 1

This example shows how to get all organization teams for an organization with the name ABC that are not backed up by any job:

  1. Run the Get-VBOOrganization cmdlet with the Name parameter to get the organization with the name ABC. Save the result to the $org variable.
  2. Run the Get-VBOrganizationTeam cmdlet. Set the $org variable as the Organization parameter value. Specify the NotInJob parameter.

$org = Get-VBOOrganization -Name "ABC"

Get-VBOOrganizationTeam -Organization $org -NotInJob

Example 2

This example shows how to get a team with the ID 47972f7d-05c4-43b5-95f7-60735ee56006 for an organization with the name ABC:

  1. Run the Get-VBOOrganization cmdlet with the Name parameter to get an organization with the name ABC. Save the result to the $org variable.
  2. Run the Get-VBOrganizationTeam cmdlet. Set the $org variable as the Organization parameter value. Specify the Id parameter value.

$org = Get-VBOOrganization -Name "ABC"

Get-VBOOrganizationTeam -Organization $org -Id "47972f7d-05c4-43b5-95f7-60735ee56006"

Example 3

This example shows how to get a team with the display name IT for an organization with the name ABC:

  1. Run the Get-VBOOrganization cmdlet with the Name parameter to get an organization with the name ABC. Save the result to the $org variable.
  2. Run the Get-VBOrganizationTeam cmdlet. Set the $org variable as the Organization parameter value. Specify the DisplayName parameter value.

$org = Get-VBOOrganization -Name "ABC"

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

Related Commands

Get-VBOOrganization

I want to report a typo

There is a misspelling right here:

 

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