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

Get-VETOrganization

Short Description

Returns Microsoft Teams organizations added to Veeam Backup for Microsoft 365.

Applies to

Veeam Backup for Microsoft 365

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

Syntax

Get-VETOrganization [-Session] <ITeamsRestoreSession> [[-Name] <string[]>]  [<CommonParameters>]

Detailed Description

This cmdlet returns Microsoft Teams organizations added to Veeam Backup for Microsoft 365. You can get the list of all Microsoft Teams organizations directly by name or session ID.

Parameters

Parameter

Description

Type

Required

Position

Accept Pipeline Input

Accept Wildcard Characters

Session

Specifies an active Microsoft Teams restore session. This cmdlet will return organizations from the specified restore session.

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

True

0

True (ByValue)

False

Name

Specifies a name of a Microsoft Teams organization. The cmdlet will return the organization 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 VETOrganization object that contains Microsoft Teams organizations added to Veeam Backup for Microsoft 365.

Examples

Example 1. Getting Microsoft Teams Organizations

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

$session = Get-VBOTeamsItemRestoreSession

Get-VETOrganization -Session $session -Name "ABC"

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.

Related Commands

Get-VBOTeamsItemRestoreSession