Skip to content

Commit d4731b3

Browse files
Update organization name references in project from PowerShell to Microsoft. (microsoft#106)
This project has been transferred from the PowerShell organization to the Microsoft organization. This update fixes any references to the organization name.
1 parent eba4dd2 commit d4731b3

14 files changed

+114
-114
lines changed

GitHubAssignees.ps1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ function Get-GitHubAssignee
3333
If not supplied here, the DefaultNoStatus configuration property value will be used.
3434
3535
.EXAMPLE
36-
Get-GitHubAsigneeList -OwnerName Powershell -RepositoryName PowerShellForGitHub
36+
Get-GitHubAsigneeList -OwnerName Microsoft -RepositoryName PowerShellForGitHub
3737
38-
Lists the available assignees for issues from the PowerShell\PowerShellForGitHub project.
38+
Lists the available assignees for issues from the Microsoft\PowerShellForGitHub project.
3939
#>
4040
[CmdletBinding(
4141
SupportsShouldProcess,
@@ -119,9 +119,9 @@ function Test-GitHubAssignee
119119
[bool] If the assignee can be assigned to issues in the repository.
120120
121121
.EXAMPLE
122-
Test-GitHubAssignee -OwnerName Powershell -RepositoryName PowerShellForGitHub -Assignee "LoginID123"
122+
Test-GitHubAssignee -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Assignee "LoginID123"
123123
124-
Checks if a user has permission to be assigned to an issue from the PowerShell\PowerShellForGitHub project.
124+
Checks if a user has permission to be assigned to an issue from the Microsoft\PowerShellForGitHub project.
125125
#>
126126
[CmdletBinding(
127127
SupportsShouldProcess,
@@ -220,9 +220,9 @@ function New-GithubAssignee
220220
If not supplied here, the DefaultNoStatus configuration property value will be used.
221221
222222
.EXAMPLE
223-
New-GithubAssignee -OwnerName Powershell -RepositoryName PowerShellForGitHub -Assignee $assignee
223+
New-GithubAssignee -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Assignee $assignee
224224
225-
Lists the available assignees for issues from the PowerShell\PowerShellForGitHub project.
225+
Lists the available assignees for issues from the Microsoft\PowerShellForGitHub project.
226226
#>
227227
[CmdletBinding(
228228
SupportsShouldProcess,
@@ -322,9 +322,9 @@ function Remove-GithubAssignee
322322
If not supplied here, the DefaultNoStatus configuration property value will be used.
323323
324324
.EXAMPLE
325-
Remove-GithubAssignee -OwnerName Powershell -RepositoryName PowerShellForGitHub -Assignee $assignees
325+
Remove-GithubAssignee -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Assignee $assignees
326326
327-
Lists the available assignees for issues from the PowerShell\PowerShellForGitHub project.
327+
Lists the available assignees for issues from the Microsoft\PowerShellForGitHub project.
328328
#>
329329
[CmdletBinding(
330330
SupportsShouldProcess,

GitHubBranches.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function Get-GitHubRepositoryBranch
4242
[PSCustomObject[]] List of branches within the given repository.
4343
4444
.EXAMPLE
45-
Get-GitHubRepositoryBranch -OwnerName PowerShell -RepositoryName PowerShellForGitHub
45+
Get-GitHubRepositoryBranch -OwnerName Microsoft -RepositoryName PowerShellForGitHub
4646
4747
Gets all branches for the specified repository.
4848

GitHubComments.ps1

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ function Get-GitHubComment
5656
If not supplied here, the DefaultNoStatus configuration property value will be used.
5757
5858
.EXAMPLE
59-
Get-GitHubComment-OwnerName Powershell -RepositoryName PowerShellForGitHub
59+
Get-GitHubComment-OwnerName Microsoft -RepositoryName PowerShellForGitHub
6060
61-
Get the comments for the PowerShell\PowerShellForGitHub project.
61+
Get the comments for the Microsoft\PowerShellForGitHub project.
6262
#>
6363
[CmdletBinding(
6464
SupportsShouldProcess,
@@ -236,9 +236,9 @@ function New-GitHubComment
236236
If not supplied here, the DefaultNoStatus configuration property value will be used.
237237
238238
.EXAMPLE
239-
New-GitHubComment -OwnerName Powershell -RepositoryName PowerShellForGitHub -Issue 1 -Body "Testing this API"
239+
New-GitHubComment -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Issue 1 -Body "Testing this API"
240240
241-
Creates a new Github comment in an issue for the PowerShell\PowerShellForGitHub project.
241+
Creates a new Github comment in an issue for the Microsoft\PowerShellForGitHub project.
242242
#>
243243
[CmdletBinding(
244244
SupportsShouldProcess,
@@ -347,9 +347,9 @@ function Set-GitHubComment
347347
If not supplied here, the DefaultNoStatus configuration property value will be used.
348348
349349
.EXAMPLE
350-
Set-GitHubComment -OwnerName Powershell -RepositoryName PowerShellForGitHub -CommentID 1 -Body "Testing this API"
350+
Set-GitHubComment -OwnerName Microsoft -RepositoryName PowerShellForGitHub -CommentID 1 -Body "Testing this API"
351351
352-
Update an existing comment in an issue for the PowerShell\PowerShellForGitHub project.
352+
Update an existing comment in an issue for the Microsoft\PowerShellForGitHub project.
353353
#>
354354
[CmdletBinding(
355355
SupportsShouldProcess,
@@ -447,9 +447,9 @@ function Remove-GitHubComment
447447
If not supplied here, the DefaultNoStatus configuration property value will be used.
448448
449449
.EXAMPLE
450-
Remove-GitHubComment -OwnerName Powershell -RepositoryName PowerShellForGitHub -CommentID 1
450+
Remove-GitHubComment -OwnerName Microsoft -RepositoryName PowerShellForGitHub -CommentID 1
451451
452-
Deletes a Github comment from the PowerShell\PowerShellForGitHub project.
452+
Deletes a Github comment from the Microsoft\PowerShellForGitHub project.
453453
#>
454454
[CmdletBinding(
455455
SupportsShouldProcess,

GitHubEvents.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ function Get-GitHubEvent
3939
If not supplied here, the DefaultNoStatus configuration property value will be used.
4040
4141
.EXAMPLE
42-
Get-GitHubEvent -OwnerName Powershell -RepositoryName PowerShellForGitHub
42+
Get-GitHubEvent -OwnerName Microsoft -RepositoryName PowerShellForGitHub
4343
44-
Get the events for the PowerShell\PowerShellForGitHub project.
44+
Get the events for the Microsoft\PowerShellForGitHub project.
4545
#>
4646
[CmdletBinding(
4747
SupportsShouldProcess,

GitHubIssues.ps1

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,14 @@ function Get-GitHubIssue
106106
If not supplied here, the DefaultNoStatus configuration property value will be used.
107107
108108
.EXAMPLE
109-
Get-GitHubIssue -OwnerName PowerShell -RepositoryName PowerShellForGitHub -State Open
109+
Get-GitHubIssue -OwnerName Microsoft -RepositoryName PowerShellForGitHub -State Open
110110
111-
Gets all the currently open issues in the PowerShell\PowerShellForGitHub repository.
111+
Gets all the currently open issues in the Microsoft\PowerShellForGitHub repository.
112112
113113
.EXAMPLE
114-
Get-GitHubIssue -OwnerName PowerShell -RepositoryName PowerShellForGitHub -State All -Assignee Octocat
114+
Get-GitHubIssue -OwnerName Microsoft -RepositoryName PowerShellForGitHub -State All -Assignee Octocat
115115
116-
Gets every issue in the PowerShell\PowerShellForGitHub repository that is assigned to Octocat.
116+
Gets every issue in the Microsoft\PowerShellForGitHub repository that is assigned to Octocat.
117117
#>
118118
[CmdletBinding(
119119
SupportsShouldProcess,
@@ -372,7 +372,7 @@ function Get-GitHubIssueTimeline
372372
If not supplied here, the DefaultNoStatus configuration property value will be used.
373373
374374
.EXAMPLE
375-
Get-GitHubIssueTimeline -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Issue 24
375+
Get-GitHubIssueTimeline -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Issue 24
376376
#>
377377
[CmdletBinding(
378378
SupportsShouldProcess,
@@ -480,7 +480,7 @@ function New-GitHubIssue
480480
If not supplied here, the DefaultNoStatus configuration property value will be used.
481481
482482
.EXAMPLE
483-
New-GitHubIssue -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Title 'Test Issue'
483+
New-GitHubIssue -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Title 'Test Issue'
484484
#>
485485
[CmdletBinding(
486486
SupportsShouldProcess,
@@ -620,7 +620,7 @@ function Update-GitHubIssue
620620
If not supplied here, the DefaultNoStatus configuration property value will be used.
621621
622622
.EXAMPLE
623-
Update-GitHubIssue -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Issue 4 -Title 'Test Issue' -State Closed
623+
Update-GitHubIssue -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Issue 4 -Title 'Test Issue' -State Closed
624624
#>
625625
[CmdletBinding(
626626
SupportsShouldProcess,
@@ -745,7 +745,7 @@ function Lock-GitHubIssue
745745
If not supplied here, the DefaultNoStatus configuration property value will be used.
746746
747747
.EXAMPLE
748-
Lock-GitHubIssue -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Issue 4 -Title 'Test Issue' -Reason Spam
748+
Lock-GitHubIssue -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Issue 4 -Title 'Test Issue' -Reason Spam
749749
#>
750750
[CmdletBinding(
751751
SupportsShouldProcess,
@@ -855,7 +855,7 @@ function Unlock-GitHubIssue
855855
If not supplied here, the DefaultNoStatus configuration property value will be used.
856856
857857
.EXAMPLE
858-
Unlock-GitHubIssue -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Issue 4
858+
Unlock-GitHubIssue -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Issue 4
859859
#>
860860
[CmdletBinding(
861861
SupportsShouldProcess,

GitHubLabels.ps1

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,14 @@ function Get-GitHubLabel
4646
If not supplied here, the DefaultNoStatus configuration property value will be used.
4747
4848
.EXAMPLE
49-
Get-GitHubLabel -OwnerName Powershell -RepositoryName PowerShellForGitHub
49+
Get-GitHubLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub
5050
51-
Gets the information for every label from the PowerShell\PowerShellForGitHub project.
51+
Gets the information for every label from the Microsoft\PowerShellForGitHub project.
5252
5353
.EXAMPLE
54-
Get-GitHubLabel -OwnerName Powershell -RepositoryName PowerShellForGitHub -LabelName TestLabel
54+
Get-GitHubLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -LabelName TestLabel
5555
56-
Gets the information for the label named "TestLabel" from the PowerShell\PowerShellForGitHub
56+
Gets the information for the label named "TestLabel" from the Microsoft\PowerShellForGitHub
5757
project.
5858
#>
5959
[CmdletBinding(
@@ -198,7 +198,7 @@ function New-GitHubLabel
198198
If not supplied here, the DefaultNoStatus configuration property value will be used.
199199
200200
.EXAMPLE
201-
New-GitHubLabel -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Name TestLabel -Color BBBBBB
201+
New-GitHubLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Name TestLabel -Color BBBBBB
202202
203203
Creates a new, grey-colored label called "TestLabel" in the PowerShellForGitHub project.
204204
#>
@@ -312,7 +312,7 @@ function Remove-GitHubLabel
312312
If not supplied here, the DefaultNoStatus configuration property value will be used.
313313
314314
.EXAMPLE
315-
Remove-GitHubLabel -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Name TestLabel
315+
Remove-GitHubLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Name TestLabel
316316
317317
Removes the label called "TestLabel" from the PowerShellForGitHub project.
318318
#>
@@ -417,7 +417,7 @@ function Update-GitHubLabel
417417
If not supplied here, the DefaultNoStatus configuration property value will be used.
418418
419419
.EXAMPLE
420-
Update-GitHubLabel -OwnerName Powershell -RepositoryName PowerShellForGitHub -Name TestLabel -NewName NewTestLabel -LabelColor BBBB00
420+
Update-GitHubLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Name TestLabel -NewName NewTestLabel -LabelColor BBBB00
421421
422422
Updates the existing label called TestLabel in the PowerShellForGitHub project to be called
423423
'NewTestLabel' and be colored yellow.
@@ -541,7 +541,7 @@ function Set-GitHubLabel
541541
removed (and thus unassigned from existing Issues) and then the new one created.
542542
543543
.EXAMPLE
544-
Set-GitHubLabel -OwnerName Powershell -RepositoryName PowerShellForGitHub -Label @(@{'name' = 'TestLabel'; 'color' = 'EEEEEE'}, @{'name' = 'critical'; 'color' = 'FF000000'; 'description' = 'Needs immediate attention'})
544+
Set-GitHubLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Label @(@{'name' = 'TestLabel'; 'color' = 'EEEEEE'}, @{'name' = 'critical'; 'color' = 'FF000000'; 'description' = 'Needs immediate attention'})
545545
546546
Removes any labels not in this Label array, ensure the current assigned color and descriptions
547547
match what's in the array for the labels that do already exist, and then creates new labels
@@ -654,7 +654,7 @@ function Add-GitHubIssueLabel
654654
If not supplied here, the DefaultNoStatus configuration property value will be used.
655655
656656
.EXAMPLE
657-
Add-GitHubIssueLabel -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Issue 1 -Name $labels
657+
Add-GitHubIssueLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Issue 1 -Name $labels
658658
659659
Adds labels to an issue in the PowerShellForGitHub project.
660660
#>
@@ -755,7 +755,7 @@ function Set-GitHubIssueLabel
755755
If not supplied here, the DefaultNoStatus configuration property value will be used.
756756
757757
.EXAMPLE
758-
Set-GitHubIssueLabel -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Issue 1 -LabelName $labels
758+
Set-GitHubIssueLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Issue 1 -LabelName $labels
759759
760760
Replaces labels on an issue in the PowerShellForGitHub project.
761761
#>
@@ -857,7 +857,7 @@ function Remove-GitHubIssueLabel
857857
If not supplied here, the DefaultNoStatus configuration property value will be used.
858858
859859
.EXAMPLE
860-
Remove-GitHubIssueLabel -OwnerName PowerShell -RepositoryName PowerShellForGitHub -Name TestLabel -Issue 1
860+
Remove-GitHubIssueLabel -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Name TestLabel -Issue 1
861861
862862
Removes the label called "TestLabel" from issue 1 in the PowerShellForGitHub project.
863863
#>

GitHubMilestones.ps1

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ function Get-GitHubMilestone
4545
If not supplied here, the DefaultNoStatus configuration property value will be used.
4646
4747
.EXAMPLE
48-
Get-GitHubMilestone -OwnerName Powershell -RepositoryName PowerShellForGitHub
49-
Get the milestones for the PowerShell\PowerShellForGitHub project.
48+
Get-GitHubMilestone -OwnerName Microsoft -RepositoryName PowerShellForGitHub
49+
Get the milestones for the Microsoft\PowerShellForGitHub project.
5050
5151
.EXAMPLE
5252
Get-GitHubMilestone -Uri 'https://github.com/PowerShell/PowerShellForGitHub' -Milestone 1
53-
Get milestone number 1 for the PowerShell\PowerShellForGitHub project.
53+
Get milestone number 1 for the Microsoft\PowerShellForGitHub project.
5454
#>
5555
[CmdletBinding(
5656
SupportsShouldProcess,
@@ -202,9 +202,9 @@ function New-GitHubMilestone
202202
If not supplied here, the DefaultNoStatus configuration property value will be used.
203203
204204
.EXAMPLE
205-
New-GitHubMilestone -OwnerName Powershell -RepositoryName PowerShellForGitHub -Title "Testing this API"
205+
New-GitHubMilestone -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Title "Testing this API"
206206
207-
Creates a new Github milestone for the PowerShell\PowerShellForGitHub project.
207+
Creates a new Github milestone for the Microsoft\PowerShellForGitHub project.
208208
#>
209209
[CmdletBinding(
210210
SupportsShouldProcess,
@@ -330,9 +330,9 @@ function Set-GitHubMilestone
330330
If not supplied here, the DefaultNoStatus configuration property value will be used.
331331
332332
.EXAMPLE
333-
Set-GitHubMilestone -OwnerName Powershell -RepositoryName PowerShellForGitHub -Milestone 1 -Title "Testing this API"
333+
Set-GitHubMilestone -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Milestone 1 -Title "Testing this API"
334334
335-
Update an existing milestone for the PowerShell\PowerShellForGitHub project.
335+
Update an existing milestone for the Microsoft\PowerShellForGitHub project.
336336
#>
337337
[CmdletBinding(
338338
SupportsShouldProcess,
@@ -451,9 +451,9 @@ function Remove-GitHubMilestone
451451
If not supplied here, the DefaultNoStatus configuration property value will be used.
452452
453453
.EXAMPLE
454-
Remove-GitHubMilestone -OwnerName Powershell -RepositoryName PowerShellForGitHub -Milestone 1
454+
Remove-GitHubMilestone -OwnerName Microsoft -RepositoryName PowerShellForGitHub -Milestone 1
455455
456-
Deletes a Github milestone from the PowerShell\PowerShellForGitHub project.
456+
Deletes a Github milestone from the Microsoft\PowerShellForGitHub project.
457457
#>
458458
[CmdletBinding(
459459
SupportsShouldProcess,

GitHubMiscellaneous.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,9 @@ function Get-GitHubLicense
218218
Gets the content of the mit license file
219219
220220
.EXAMPLE
221-
Get-GitHubLicense -OwnerName PowerShell -RepositoryName PowerShellForGitHub
221+
Get-GitHubLicense -OwnerName Microsoft -RepositoryName PowerShellForGitHub
222222
223-
Gets the content of the license file for the PowerShell\PowerShellForGitHub repository.
223+
Gets the content of the license file for the Microsoft\PowerShellForGitHub repository.
224224
It may be necessary to convert the content of the file. Check the 'encoding' property of
225225
the result to know how 'content' is encoded. As an example, to convert from Base64, do
226226
the following:
@@ -387,9 +387,9 @@ function Get-GitHubCodeOfConduct
387387
Gets the content of the 'Citizen Code of Conduct'
388388
389389
.EXAMPLE
390-
Get-GitHubCodeOfConduct -OwnerName PowerShell -RepositoryName PowerShellForGitHub
390+
Get-GitHubCodeOfConduct -OwnerName Microsoft -RepositoryName PowerShellForGitHub
391391
392-
Gets the content of the Code of Coduct file for the PowerShell\PowerShellForGitHub repository
392+
Gets the content of the Code of Coduct file for the Microsoft\PowerShellForGitHub repository
393393
if one is detected.
394394
395395
It may be necessary to convert the content of the file. Check the 'encoding' property of

GitHubPullRequests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function Get-GitHubPullRequest
6565
$pullRequests = Get-GitHubPullRequest -Uri 'https://github.com/PowerShell/PowerShellForGitHub'
6666
6767
.EXAMPLE
68-
$pullRequests = Get-GitHubPullRequest -OwnerName PowerShell -RepositoryName PowerShellForGitHub -State Closed
68+
$pullRequests = Get-GitHubPullRequest -OwnerName Microsoft -RepositoryName PowerShellForGitHub -State Closed
6969
#>
7070
[CmdletBinding(
7171
SupportsShouldProcess,

0 commit comments

Comments
 (0)