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.
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 an array of Microsoft Teams organizations. The cmdlet will return an array of organizations with this name. This parameter accepts wildcard characters. | 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[] array that contains Microsoft Teams organizations added to Veeam Backup for Microsoft 365.
Example
Getting Microsoft Teams Organization
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:
- Run the Get-VBOTeamsItemRestoreSession cmdlet. Save the result to the $session variable.
- 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