CmdID

CmdID / PowerShell / Cmdlets / Get

Get-TeamUser

Returns users of a team. Microsoft Teams PowerShell reference

From the Microsoft Teams PowerShell reference 2 parameters Its page in the reference

Opens CmdID with your command, read as PowerShell. It is read in your browser and sent nowhere.

Parameters

2 in the Microsoft Teams PowerShell reference
-GroupIdGroupId of the team
-RoleFilter the results to only users with the given role: Owner or Member.