Get-VETChannel
Short Description
Returns Microsoft Teams team channels.
Product: Veeam Backup for Microsoft 365
Product Edition: Community, Rental License, Subscription License
Syntax
|
Get-VETChannel [-Team] <VETTeam> [[-DisplayName] <String[]>] [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of channels from the specified Microsoft Teams team.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
DisplayName |
Specifies an array of Microsoft Teams channel display names. The cmdlet will return an array of channels with these names. This parameter accepts wildcard characters. |
|
False |
1 |
False |
|
Team |
Specifies a Microsoft Teams team. The cmdlet will return an array of channels from this team.
Accepts the |
True |
0 |
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 VETChannel[] array that contains Microsoft Teams channels.
Examples
Getting Microsoft Teams Channels
This example shows how to get the General channel from the IT team of the ABC Microsoft Teams organization added to Veeam Backup for Microsoft 365.
|
$session = Get-VBOTeamsItemRestoreSession $org = Get-VETOrganization -Session $session -Name "ABC*" $team = Get-VETTeam -Organization $org -DisplayName "IT" Get-VETChannel -Team $team -DisplayName "General" |
Perform the following steps:
- Run the
Get-VBOTeamsItemRestoreSessionReturns active restore sessions started to perform operations with backed-up Microsoft Teams items. cmdlet. Save the result to the$sessionvariable. - Run the
Get-VETOrganizationReturns Microsoft Teams organizations added to Veeam Backup for Microsoft 365. cmdlet. Set the$sessionvariable as theSessionparameter value. Specify theNameparameter value. Use the * wildcard character to substitute the timestamp. Save the result to the$orgvariable. - Run the
Get-VETTeamReturns Microsoft Teams teams. cmdlet. Set the$orgvariable as theOrganizationparameter value. Specify theDisplayNameparameter value. Save the result to the$teamvariable. - Run the
Get-VETChannelcmdlet. Set the$teamvariable as theTeamparameter value. Specify theDisplayNameparameter value.
Related Commands
Get-VBOTeamsItemRestoreSessionReturns active restore sessions started to perform operations with backed-up Microsoft Teams items.Get-VETOrganizationReturns Microsoft Teams organizations added to Veeam Backup for Microsoft 365.Get-VETTeamReturns Microsoft Teams teams.