Skip to content

Unblock-GitHubUser

SYNOPSIS

Unblock a user

SYNTAX

Unblock-GitHubUser [-Username] <String> [[-OrganizationName] <String>] [-ProgressAction <ActionPreference>]
 [<CommonParameters>]

DESCRIPTION

Unblocks the given user and returns true.

EXAMPLES

EXAMPLE 1

Unblock-GitHubUser -Username 'octocat'

Unblocks the user 'octocat' for the authenticated user. Returns $true if successful.

EXAMPLE 2

Unblock-GitHubUser -OrganizationName 'GitHub' -Username 'octocat'

Unblocks the user 'octocat' from the organization 'GitHub'. Returns $true if successful.

PARAMETERS

-Username

The handle for the GitHub user account.

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

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
Accept wildcard characters: False

-OrganizationName

The organization name. The name is not case sensitive.

Type: String
Parameter Sets: (All)
Aliases: owner, org

Required: False
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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.Boolean

NOTES

Unblock a user Unblock a user from an organization