< Back

Get-PSGoodFirstIssue

Mon Jan 13, 2020 8:20 pm

NAME Get-PSGoodFirstIssue



SYNOPSIS

Gets a random issue from github.com/Powershell/Powershell labeled `Up-for-grabs`





SYNTAX

Get-PSGoodFirstIssue [[-OauthToken] <Object>] [[-Repo] <Object>] [[-Labels] <Object>] [<CommonParameters>]





DESCRIPTION

Gets a random issue from github.com/Powershell/Powershell labeled `Up-for-grabs`





PARAMETERS

-Labels <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 up-for-grabs

Accept pipeline input? False

Accept wildcard characters? false



-OauthToken <Object>

After 60 calls to the API in an hour, github will block you. Use an oAuth token from

https://github.com/settings/tokens (https://github.com/settings/tokens)to authenticate in that case



Required? false

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Repo <Object>

The repo to search in. Use `owner/repo` format.



Required? false

Position? 1

Default value powershell/powershell

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-PSGoodFirstIssue



Gets a random issue labeled `up-for-grabs` from the powershell/powershell repo.

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



PS C:\\> Get-PSGoodFirstIssue -Repo "Powershell/vscode-powershell"



Gets a random issue labeled `up-for-grabs` from the powershell/vscode-powershell repo.

-------------------------- Example 3 --------------------------



PS C:\\> Get-PSGoodFirstIssue -Repo "Powershell/vscode-powershell" -Labels "Issue-bug"



Gets a random issue labeled `Issue-bug` from the powershell/vscode-powershell repo.

-------------------------- Example 4 --------------------------



PS C:\\> $iss = Get-PSGoodFirstIssue

PS C:\\> $iss | Select-Object -Property *



Will list all available properties, not just the pretty synopsis.



RELATED LINKS