Skip to content

Get-GitHubTeamByName

SYNOPSIS

Get a team by name

SYNTAX

Get-GitHubTeamByName [-Organization] <String> [-Name] <String> [[-Context] <String>]
 [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Gets a team using the team's slug. To create the slug, GitHub replaces special characters in the name string, changes all words to lowercase, and replaces spaces with a - separator. For example, "My TEam Näme" would become my-team-name.

EXAMPLES

EXAMPLE 1

Get-GitHubTeamByName -Organization 'github' -Name 'my-team-name'

PARAMETERS

-Organization

The organization name. The name is not case sensitive.

Type: String
Parameter Sets: (All)
Aliases: Org

Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Name

The slug of the team name.

Type: String
Parameter Sets: (All)
Aliases: Team, TeamName, slug, team_slug

Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Context

The context to run the command in

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: (Get-GitHubConfig -Name DefaultContext)
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

System.Void

NOTES

Get team by name