Skip to content

Get-GitHubOrganizationMember

SYNOPSIS

List organization members

SYNTAX

Get-GitHubOrganizationMember [-Organization] <String> [[-Filter] <String>] [[-Role] <String>]
 [[-PerPage] <Int32>] [[-Context] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

List all users who are members of an organization. If the authenticated user is also a member of this organization then both concealed and public members will be returned.

EXAMPLES

Example 1

PS C:> {{ Add example code here }}

{{ Add example description here }}

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

-Filter

Filter members returned in the list. 2fa_disabled means that only members without two-factor authentication enabled will be returned. This options is only available for organization owners.

Type: String
Parameter Sets: (All)
Aliases:

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

-Role

Filter members returned by their role.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: All
Accept pipeline input: False
Accept wildcard characters: False

-PerPage

The number of results per page (max 100).

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: 30
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: 5
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.Management.Automation.PSObject

NOTES

List organization members