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, Rental License, Subscription 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

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)

Name

Specifies a name of a Microsoft Teams organization. The cmdlet will return the organization with this name.

String[]

False

1

False

<CommonParameters>

This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About CommonParameters section of Microsoft Docs.

Output Object

The cmdlet returns the VETOrganization object that contains Microsoft Teams organizations added to Veeam Backup for Microsoft 365.

Example

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. Use the * wildcard character to substitute the timestamp.

Related Commands

Get-VBOTeamsItemRestoreSession

Page updated 3/18/2024

Page content applies to build 12.1.2.172