CmdID / PowerShell / Cmdlets / Get
Get-Team
Get Team information based on particular properties. Microsoft Teams PowerShell reference
From the Microsoft Teams PowerShell reference 7 parameters Its page in the reference
Parameters
-ArchivedIf $true, filters to return teams that have been archived.-DisplayNameSpecify this parameter to return teams with the provided display name as a filter.-GroupIdSpecify the specific GroupId (as a string) of the team to be returned.-MailNickNameSpecify the mailnickname of the team that is being returned.-NumberOfThreadsSpecifies the number of threads to use.-UserUser's UPN (user principal name - e.g.-VisibilityFilters to return teams with a set "visibility" value.