< Back

Get-PSHacktoberFestIssue

Mon Jan 13, 2020 8:20 pm

NAME Get-PSHacktoberFestIssue



SYNOPSIS

Gets a random issue from with language `powershell` labeled `Hacktoberfest`.





SYNTAX

Get-PSHacktoberFestIssue [[-OauthToken] <Object>] [[-Language] <Object>] [[-Label] <Object>] [[-State] <Object>]

[<CommonParameters>]





DESCRIPTION

Gets a random issue from with language `powershell` labeled `Hacktoberfest`.





PARAMETERS

-Label <Object>

Label to get a random issue from. Per the github api spec it should be possible with a comma separated list,

but it does not currently work.



Required? false

Position? 2

Default value hactoberfest

Accept pipeline input? False

Accept wildcard characters? false



-Language <Object>

Limit searches to a given language



Required? false

Position? 1

Default value powershell

Accept pipeline input? False

Accept wildcard characters? false



-OauthToken <Object>

The Search API has a custom rate limit. For requests using Basic Authentication, OAuth, or client ID and

secret, you can make up to 30 requests per minute. For unauthenticated requests, the rate limit allows you to

make up to 10 requests per minute.



Required? false

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-State <Object>

Can be used to return issues that are closed. Defaults to open.



Required? false

Position? 3

Default value Open

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

None







OUTPUTS

System.Object







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Get-PSHacktoberFestIssue



Gets a random issue with the label `hacktoberfest` and language powershell.

-------------------------- Example 2 --------------------------



PS C:\\> Get-PSHacktoberFestIssue -OauthToken $token



Uses a given token to authenticate user.



RELATED LINKS