Get-VETTeamMember
Short Description
Returns Microsoft Teams team members.
Product: Veeam Backup for Microsoft 365
Product Edition: Community, Rental License, Subscription License
Syntax
|
Get-VETTeamMember -Team <VETTeam> [<CommonParameters>] |
Detailed Description
This cmdlet returns an array of team members from the specified Microsoft Teams team.
Parameters
|
Parameter |
Description |
Type |
Required |
Position |
Accept Pipeline Input |
|---|---|---|---|---|---|
|
Team |
Specifies a Microsoft Teams team. The cmdlet will return an array of team members from this team.
Accepts the |
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 Docs.
Output Object
The cmdlet returns the VETTeamMember[] array that contains Microsoft Teams team members.
Examples
Getting Microsoft Teams Team Members
This example shows how to get team members 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-VETTeamMember -Team $team |
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-VETTeamMembercmdlet. Set the$teamvariable as theTeamparameter 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.