Skip to content

Get-GitHubOrganizationPendingInvitation

SYNOPSIS

List pending organization invitations

SYNTAX

Get-GitHubOrganizationPendingInvitation [-Organization] <String> [[-Role] <String>]
 [[-InvitationSource] <String>] [[-PerPage] <Int32>] [[-Context] <String>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

DESCRIPTION

The return hash contains a role field which refers to the Organization Invitation role and will be one of the following values: direct_member, admin, billing_manager, or hiring_manager. If the invitee is not a GitHub member, the login field in the return hash will be null.

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

-Role

Filter invitations by their member role.

Type: String
Parameter Sets: (All)
Aliases:

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

-InvitationSource

Filter invitations by their invitation source.

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

NOTES

List pending organization invitations