< Back

Get-TeamUser

Sat Jan 18, 2020 4:17 pm

NAME Get-TeamUser



SYNOPSIS

Returns users of a team.





SYNTAX

Get-TeamUser -GroupId <String> [-Role <String>] [<CommonParameters>]





DESCRIPTION







PARAMETERS

-GroupId <String>

GroupId of the team



Required? true

Position? named

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Role <String>

Filter the results to only users with the given role: Owner or Member.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



NOTES









-------------------------- Example 1 --------------------------



Get-TeamUser -GroupId 2f162b0e-36d2-4e15-8ba3-ba229cecdccf -Role Owner







RELATED LINKS