Get-VETOtherTab
Short Description
Returns Microsoft Teams team channel tabs.
Product: Veeam Backup for Microsoft 365
Product Edition: Community, Rental License, Subscription License
Syntax
This cmdlet provides the following parameter sets:
-
QueryByChannelParameterSet
|
Get-VETOtherTab -Channel <VETChannel> [-Query <String>] [<CommonParameters>] |
-
QueryByOrganizationParameterSet
|
Get-VETOtherTab [-Query <String>] -Organization <VETOrganization[]> [<CommonParameters>] |
-
QueryByTeamParameterSet
|
Get-VETOtherTab [-Query <String>] -Team <VETTeam> [<CommonParameters>] |
Detailed Description
This cmdlet returns tabs of Microsoft Teams team channels. You can get tabs from the following backed-up sources:
- Microsoft Teams organization
- Microsoft Teams team
- Microsoft Teams channel
Parameters
Parameters
|
Parameter
|
Description
|
Type
|
Required
|
Position
|
Accept Pipeline Input
|
|
Channel
|
Specifies a Microsoft Teams team channel. The cmdlet will return tabs from this channel.
Accepts the VETChannel object. To get this object, run the Get-VETChannelReturns Microsoft Teams team channels. cmdlet.
|
VETChannel
|
True
|
Named
|
True (ByValue)
|
|
Organization
|
Specifies an array of Microsoft Teams organizations. The cmdlet will return channel tabs from these organizations.
Accepts the VETOrganization[] object. To get this object, run the Get-VETOrganizationReturns Microsoft Teams organizations added to Veeam Backup for Microsoft 365. cmdlet.
|
VETOrganization[]
|
True
|
Named
|
True (ByValue)
|
|
Query
|
Specifies a query string for search of channel tabs. The cmdlet will return tabs that match the search query from the specified organization, team or channel.
For more information, see the Appendix A. Item Search Parameters section of the Veeam Backup for Microsoft 365 User Guide.
|
String
|
False
|
Named
|
False
|
|
Team
|
Specifies a Microsoft Teams team. This cmdlet will return channel tabs from this team.
Accepts the VETTeam object. To get this object, run the Get-VETTeamReturns Microsoft Teams teams. cmdlet.
|
VETTeam
|
True
|
Named
|
True (ByValue)
|
<CommonParameters>
This cmdlet supports Microsoft PowerShell common parameters. For more information on common parameters, see the About Common Parameters section of Microsoft Learn.
Output Object
The cmdlet returns the VETOtherTab[] array that contains Microsoft Teams channel tabs.
Examples
Example 1. Getting Tabs from Channel
|
This example shows how to get all tabs from the General channel.
|
$session = Get-VBOTeamsItemRestoreSession
$org = Get-VETOrganization -Session $session -Name "ABC*"
$team = Get-VETTeam -Organization $org -DisplayName "IT"
$channel = Get-VETChannel -Team $team -DisplayName "General"
Get-VETOtherTab -Channel $channel |
Perform the following steps:
- Get the channel:
- Run the
Get-VBOTeamsItemRestoreSessionReturns active restore sessions started to perform operations with backed-up Microsoft Teams items. cmdlet. Save the result to the $session variable.
- Run the
Get-VETOrganizationReturns Microsoft Teams organizations added to Veeam Backup for Microsoft 365. cmdlet. Set the $session variable as the Session parameter value. Specify the Name parameter value. Use the * wildcard character to substitute the timestamp. Save the result to the $org variable.
- Run the
Get-VETTeamReturns Microsoft Teams teams. cmdlet. Set the $org variable as the Organization parameter value. Specify the DisplayName parameter value. Save the result to the $team variable.
- Run the
Get-VETChannelReturns Microsoft Teams team channels. cmdlet. Set the $team variable as the Team parameter value. Specify the DisplayName parameter value. Save the result to the $channel variable.
- Run the
Get-VETOtherTab cmdlet. Set the $channel variable as the Channel parameter value.
|
Example 2. Getting Tabs from Organization
|
This example shows how to get Website tabs from channels of the ABC organization.
|
$session = Get-VBOTeamsItemRestoreSession
$org = Get-VETOrganization -Session $session -Name "ABC*"
Get-VETOtherTab -Organization $org -Query "name: website" |
Perform the following steps:
- Get the organization:
- Run the
Get-VBOTeamsItemRestoreSessionReturns active restore sessions started to perform operations with backed-up Microsoft Teams items. cmdlet. Save the result to the $session variable.
- Run the
Get-VETOrganizationReturns Microsoft Teams organizations added to Veeam Backup for Microsoft 365. cmdlet. Set the $session variable as the Session parameter value. Specify the Name parameter value. Use the * wildcard character to substitute the timestamp. Save the result to the $org variable.
- Run the
Get-VETOtherTab cmdlet. Set the $org variable as the Organization parameter value. Specify the Query parameter value.
|
Example 3. Getting Tabs from Team
|
This example shows how to get tabs from channels of the IT team.
|
$session = Get-VBOTeamsItemRestoreSession
$org = Get-VETOrganization -Session $session -Name "ABC*"
$team = Get-VETTeam -Organization $org -DisplayName "IT"
Get-VETOtherTab -Team $team |
Perform the following steps:
- Get the team:
- Run the
Get-VBOTeamsItemRestoreSessionReturns active restore sessions started to perform operations with backed-up Microsoft Teams items. cmdlet. Save the result to the $session variable.
- Run the
Get-VETOrganizationReturns Microsoft Teams organizations added to Veeam Backup for Microsoft 365. cmdlet. Set the $session variable as the Session parameter value. Specify the Name parameter value. Use the * wildcard character to substitute the timestamp. Save the result to the $org variable.
- Run the
Get-VETTeamReturns Microsoft Teams teams. cmdlet. Set the $org variable as the Organization parameter value. Specify the DisplayName parameter value. Save the result to the $team variable.
- Run the
Get-VETOtherTab cmdlet. Set the $team variable as the Team parameter value.
|
Related Commands