Get-PnPTeamsTeam

Tip

We encourage you to make improvements to this documentation. Please navigate to https://github.com/pnp/powershell/blob/dev/documentation/Get-PnPTeamsTeam.md to change this file.

Required Permissions

  • Microsoft Graph API : One of Group.Read.All, Group.ReadWrite.All

Gets one Microsoft Teams Team or a list of Teams.

Syntax

Get-PnPTeamsTeam
   [-Identity <TeamsTeamPipeBind>] 
   [<CommonParameters>]

Examples

EXAMPLE 1

Get-PnPTeamsTeam

Retrieves all the Microsoft Teams instances

EXAMPLE 2

Get-PnPTeamsTeam -Identity "PnP PowerShell"

Retrieves a specific Microsoft Teams instance using display name.

EXAMPLE 3

Get-PnPTeamsTeam -Identity "baba9192-55be-488a-9fb7-2e2e76edbef2"

Retrieves a specific Microsoft Teams instance using group id.

Parameters

-Identity

Specify the group id, mailNickname or display name of the team to use.

Type:TeamsTeamPipeBind
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False