< Back

Get-GitHubTeamMember

Sat Jan 18, 2020 9:37 pm

NAME Get-GitHubTeamMember



SYNOPSIS

Retrieve list of team members within an organization.





SYNTAX

Get-GitHubTeamMember -OrganizationName <String> -TeamId <Int64> [-AccessToken <String>] [-NoStatus] [-WhatIf]

[-Confirm] [<CommonParameters>]



Get-GitHubTeamMember -OrganizationName <String> -TeamName <String> [-AccessToken <String>] [-NoStatus] [-WhatIf]

[-Confirm] [<CommonParameters>]





DESCRIPTION

Retrieve list of team members within an organization.



The Git repo for this module can be found here: http://aka.ms/PowerShellForGitHub





PARAMETERS

-OrganizationName <String>

The name of the organization



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TeamName <String>

The name of the team in the organization



Required? true

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-TeamId <Int64>

The ID of the team in the organization



Required? true

Position? named

Default value 0

Accept pipeline input? false

Accept wildcard characters? false



-AccessToken <String>

If provided, this will be used as the AccessToken for authentication with the

REST Api. Otherwise, will attempt to use the configured value or will run unauthenticated.



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-NoStatus [<SwitchParameter>]

If this switch is specified, long-running commands will run on the main thread

with no commandline status update. When not specified, those commands run in

the background, enabling the command prompt to provide status information.

If not supplied here, the DefaultNoStatus configuration property value will be used.



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

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

[PSCustomObject[]] List of members on the team within the organization.





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>$members = Get-GitHubTeamMember -Organization PowerShell -TeamName Everybody















RELATED LINKS