Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions GitHubAssignees.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ function Get-GitHubAssignee
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Get-GitHubAsigneeList -OwnerName Powershell -RepositoryName PowerShellForGitHub
Get-GitHubAsigneeList -OwnerName Microsoft -RepositoryName PowerShellForGitHub

Lists the available assignees for issues from the PowerShell\PowerShellForGitHub project.
Lists the available assignees for issues from the Microsoft\PowerShellForGitHub project.
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down Expand Up @@ -119,9 +119,9 @@ function Test-GitHubAssignee
[bool] If the assignee can be assigned to issues in the repository.

.EXAMPLE
Test-GitHubAssignee -OwnerName Powershell -RepositoryName PowerShellForGitHub -Assignee "LoginID123"
Test-GitHubAssignee -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Assignee "LoginID123"

Checks if a user has permission to be assigned to an issue from the PowerShell\PowerShellForGitHub project.
Checks if a user has permission to be assigned to an issue from the Microsoft\PowerShellForGitHub project.
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down Expand Up @@ -220,9 +220,9 @@ function New-GithubAssignee
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
New-GithubAssignee -OwnerName Powershell -RepositoryName PowerShellForGitHub -Assignee $assignee
New-GithubAssignee -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Assignee $assignee

Lists the available assignees for issues from the PowerShell\PowerShellForGitHub project.
Lists the available assignees for issues from the Microsoft\PowerShellForGitHub project.
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down Expand Up @@ -322,9 +322,9 @@ function Remove-GithubAssignee
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Remove-GithubAssignee -OwnerName Powershell -RepositoryName PowerShellForGitHub -Assignee $assignees
Remove-GithubAssignee -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Assignee $assignees

Lists the available assignees for issues from the PowerShell\PowerShellForGitHub project.
Lists the available assignees for issues from the Microsoft\PowerShellForGitHub project.
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down
2 changes: 1 addition & 1 deletion GitHubBranches.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function Get-GitHubRepositoryBranch
[PSCustomObject[]] List of branches within the given repository.

.EXAMPLE
Get-GitHubRepositoryBranch -OwnerName PowerShell -RepositoryName PowerShellForGitHub
Get-GitHubRepositoryBranch -OwnerName Microsoft -RepositoryName PowerShellForGitHub

Gets all branches for the specified repository.

Expand Down
16 changes: 8 additions & 8 deletions GitHubComments.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ function Get-GitHubComment
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Get-GitHubComment-OwnerName Powershell -RepositoryName PowerShellForGitHub
Get-GitHubComment-OwnerName Microsoft -RepositoryName PowerShellForGitHub

Get the comments for the PowerShell\PowerShellForGitHub project.
Get the comments for the Microsoft\PowerShellForGitHub project.
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down Expand Up @@ -236,9 +236,9 @@ function New-GitHubComment
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
New-GitHubComment -OwnerName Powershell -RepositoryName PowerShellForGitHub -Issue 1 -Body "Testing this API"
New-GitHubComment -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Issue 1 -Body "Testing this API"

Creates a new Github comment in an issue for the PowerShell\PowerShellForGitHub project.
Creates a new Github comment in an issue for the Microsoft\PowerShellForGitHub project.
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down Expand Up @@ -347,9 +347,9 @@ function Set-GitHubComment
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Set-GitHubComment -OwnerName Powershell -RepositoryName PowerShellForGitHub -CommentID 1 -Body "Testing this API"
Set-GitHubComment -OwnerName Microsoft -RepositoryName PowerShellForGitHub -CommentID 1 -Body "Testing this API"

Update an existing comment in an issue for the PowerShell\PowerShellForGitHub project.
Update an existing comment in an issue for the Microsoft\PowerShellForGitHub project.
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down Expand Up @@ -447,9 +447,9 @@ function Remove-GitHubComment
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Remove-GitHubComment -OwnerName Powershell -RepositoryName PowerShellForGitHub -CommentID 1
Remove-GitHubComment -OwnerName Microsoft -RepositoryName PowerShellForGitHub -CommentID 1

Deletes a Github comment from the PowerShell\PowerShellForGitHub project.
Deletes a Github comment from the Microsoft\PowerShellForGitHub project.
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down
4 changes: 2 additions & 2 deletions GitHubEvents.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ function Get-GitHubEvent
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Get-GitHubEvent -OwnerName Powershell -RepositoryName PowerShellForGitHub
Get-GitHubEvent -OwnerName Microsoft -RepositoryName PowerShellForGitHub

Get the events for the PowerShell\PowerShellForGitHub project.
Get the events for the Microsoft\PowerShellForGitHub project.
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down
18 changes: 9 additions & 9 deletions GitHubIssues.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,14 @@ function Get-GitHubIssue
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Get-GitHubIssue -OwnerName PowerShell -RepositoryName PowerShellForGitHub -State Open
Get-GitHubIssue -OwnerName Microsoft -RepositoryName PowerShellForGitHub -State Open

Gets all the currently open issues in the PowerShell\PowerShellForGitHub repository.
Gets all the currently open issues in the Microsoft\PowerShellForGitHub repository.

.EXAMPLE
Get-GitHubIssue -OwnerName PowerShell -RepositoryName PowerShellForGitHub -State All -Assignee Octocat
Get-GitHubIssue -OwnerName Microsoft -RepositoryName PowerShellForGitHub -State All -Assignee Octocat

Gets every issue in the PowerShell\PowerShellForGitHub repository that is assigned to Octocat.
Gets every issue in the Microsoft\PowerShellForGitHub repository that is assigned to Octocat.
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down Expand Up @@ -372,7 +372,7 @@ function Get-GitHubIssueTimeline
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Get-GitHubIssueTimeline -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Issue 24
Get-GitHubIssueTimeline -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Issue 24
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down Expand Up @@ -480,7 +480,7 @@ function New-GitHubIssue
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
New-GitHubIssue -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Title 'Test Issue'
New-GitHubIssue -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Title 'Test Issue'
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down Expand Up @@ -620,7 +620,7 @@ function Update-GitHubIssue
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Update-GitHubIssue -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Issue 4 -Title 'Test Issue' -State Closed
Update-GitHubIssue -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Issue 4 -Title 'Test Issue' -State Closed
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down Expand Up @@ -745,7 +745,7 @@ function Lock-GitHubIssue
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Lock-GitHubIssue -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Issue 4 -Title 'Test Issue' -Reason Spam
Lock-GitHubIssue -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Issue 4 -Title 'Test Issue' -Reason Spam
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down Expand Up @@ -855,7 +855,7 @@ function Unlock-GitHubIssue
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Unlock-GitHubIssue -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Issue 4
Unlock-GitHubIssue -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Issue 4
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down
22 changes: 11 additions & 11 deletions GitHubLabels.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ function Get-GitHubLabel
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Get-GitHubLabel -OwnerName Powershell -RepositoryName PowerShellForGitHub
Get-GitHubLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub

Gets the information for every label from the PowerShell\PowerShellForGitHub project.
Gets the information for every label from the Microsoft\PowerShellForGitHub project.

.EXAMPLE
Get-GitHubLabel -OwnerName Powershell -RepositoryName PowerShellForGitHub -LabelName TestLabel
Get-GitHubLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -LabelName TestLabel

Gets the information for the label named "TestLabel" from the PowerShell\PowerShellForGitHub
Gets the information for the label named "TestLabel" from the Microsoft\PowerShellForGitHub
project.
#>
[CmdletBinding(
Expand Down Expand Up @@ -198,7 +198,7 @@ function New-GitHubLabel
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
New-GitHubLabel -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Name TestLabel -Color BBBBBB
New-GitHubLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Name TestLabel -Color BBBBBB

Creates a new, grey-colored label called "TestLabel" in the PowerShellForGitHub project.
#>
Expand Down Expand Up @@ -312,7 +312,7 @@ function Remove-GitHubLabel
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Remove-GitHubLabel -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Name TestLabel
Remove-GitHubLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Name TestLabel

Removes the label called "TestLabel" from the PowerShellForGitHub project.
#>
Expand Down Expand Up @@ -417,7 +417,7 @@ function Update-GitHubLabel
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Update-GitHubLabel -OwnerName Powershell -RepositoryName PowerShellForGitHub -Name TestLabel -NewName NewTestLabel -LabelColor BBBB00
Update-GitHubLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Name TestLabel -NewName NewTestLabel -LabelColor BBBB00

Updates the existing label called TestLabel in the PowerShellForGitHub project to be called
'NewTestLabel' and be colored yellow.
Expand Down Expand Up @@ -541,7 +541,7 @@ function Set-GitHubLabel
removed (and thus unassigned from existing Issues) and then the new one created.

.EXAMPLE
Set-GitHubLabel -OwnerName Powershell -RepositoryName PowerShellForGitHub -Label @(@{'name' = 'TestLabel'; 'color' = 'EEEEEE'}, @{'name' = 'critical'; 'color' = 'FF000000'; 'description' = 'Needs immediate attention'})
Set-GitHubLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Label @(@{'name' = 'TestLabel'; 'color' = 'EEEEEE'}, @{'name' = 'critical'; 'color' = 'FF000000'; 'description' = 'Needs immediate attention'})

Removes any labels not in this Label array, ensure the current assigned color and descriptions
match what's in the array for the labels that do already exist, and then creates new labels
Expand Down Expand Up @@ -654,7 +654,7 @@ function Add-GitHubIssueLabel
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Add-GitHubIssueLabel -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Issue 1 -Name $labels
Add-GitHubIssueLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Issue 1 -Name $labels

Adds labels to an issue in the PowerShellForGitHub project.
#>
Expand Down Expand Up @@ -755,7 +755,7 @@ function Set-GitHubIssueLabel
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Set-GitHubIssueLabel -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Issue 1 -LabelName $labels
Set-GitHubIssueLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Issue 1 -LabelName $labels

Replaces labels on an issue in the PowerShellForGitHub project.
#>
Expand Down Expand Up @@ -857,7 +857,7 @@ function Remove-GitHubIssueLabel
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Remove-GitHubIssueLabel -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Name TestLabel -Issue 1
Remove-GitHubIssueLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Name TestLabel -Issue 1

Removes the label called "TestLabel" from issue 1 in the PowerShellForGitHub project.
#>
Expand Down
18 changes: 9 additions & 9 deletions GitHubMilestones.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ function Get-GitHubMilestone
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Get-GitHubMilestone -OwnerName Powershell -RepositoryName PowerShellForGitHub
Get the milestones for the PowerShell\PowerShellForGitHub project.
Get-GitHubMilestone -OwnerName Microsoft -RepositoryName PowerShellForGitHub
Get the milestones for the Microsoft\PowerShellForGitHub project.

.EXAMPLE
Get-GitHubMilestone -Uri 'https://github.com/PowerShell/PowerShellForGitHub' -Milestone 1
Get milestone number 1 for the PowerShell\PowerShellForGitHub project.
Get milestone number 1 for the Microsoft\PowerShellForGitHub project.
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down Expand Up @@ -202,9 +202,9 @@ function New-GitHubMilestone
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
New-GitHubMilestone -OwnerName Powershell -RepositoryName PowerShellForGitHub -Title "Testing this API"
New-GitHubMilestone -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Title "Testing this API"

Creates a new Github milestone for the PowerShell\PowerShellForGitHub project.
Creates a new Github milestone for the Microsoft\PowerShellForGitHub project.
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down Expand Up @@ -330,9 +330,9 @@ function Set-GitHubMilestone
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Set-GitHubMilestone -OwnerName Powershell -RepositoryName PowerShellForGitHub -Milestone 1 -Title "Testing this API"
Set-GitHubMilestone -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Milestone 1 -Title "Testing this API"

Update an existing milestone for the PowerShell\PowerShellForGitHub project.
Update an existing milestone for the Microsoft\PowerShellForGitHub project.
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down Expand Up @@ -451,9 +451,9 @@ function Remove-GitHubMilestone
If not supplied here, the DefaultNoStatus configuration property value will be used.

.EXAMPLE
Remove-GitHubMilestone -OwnerName Powershell -RepositoryName PowerShellForGitHub -Milestone 1
Remove-GitHubMilestone -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Milestone 1

Deletes a Github milestone from the PowerShell\PowerShellForGitHub project.
Deletes a Github milestone from the Microsoft\PowerShellForGitHub project.
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down
8 changes: 4 additions & 4 deletions GitHubMiscellaneous.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -218,9 +218,9 @@ function Get-GitHubLicense
Gets the content of the mit license file

.EXAMPLE
Get-GitHubLicense -OwnerName PowerShell -RepositoryName PowerShellForGitHub
Get-GitHubLicense -OwnerName Microsoft -RepositoryName PowerShellForGitHub

Gets the content of the license file for the PowerShell\PowerShellForGitHub repository.
Gets the content of the license file for the Microsoft\PowerShellForGitHub repository.
It may be necessary to convert the content of the file. Check the 'encoding' property of
the result to know how 'content' is encoded. As an example, to convert from Base64, do
the following:
Expand Down Expand Up @@ -387,9 +387,9 @@ function Get-GitHubCodeOfConduct
Gets the content of the 'Citizen Code of Conduct'

.EXAMPLE
Get-GitHubCodeOfConduct -OwnerName PowerShell -RepositoryName PowerShellForGitHub
Get-GitHubCodeOfConduct -OwnerName Microsoft -RepositoryName PowerShellForGitHub

Gets the content of the Code of Coduct file for the PowerShell\PowerShellForGitHub repository
Gets the content of the Code of Coduct file for the Microsoft\PowerShellForGitHub repository
if one is detected.

It may be necessary to convert the content of the file. Check the 'encoding' property of
Expand Down
2 changes: 1 addition & 1 deletion GitHubPullRequests.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ function Get-GitHubPullRequest
$pullRequests = Get-GitHubPullRequest -Uri 'https://github.com/PowerShell/PowerShellForGitHub'

.EXAMPLE
$pullRequests = Get-GitHubPullRequest -OwnerName PowerShell -RepositoryName PowerShellForGitHub -State Closed
$pullRequests = Get-GitHubPullRequest -OwnerName Microsoft -RepositoryName PowerShellForGitHub -State Closed
#>
[CmdletBinding(
SupportsShouldProcess,
Expand Down
Loading