File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -714,6 +714,11 @@ filter Rename-GitHubTeam
714
714
. PARAMETER NewTeamName
715
715
The new name for the team.
716
716
717
+ . PARAMETER PassThru
718
+ Returns the updated GitHub Team. By default, this cmdlet does not generate any output.
719
+ You can use "Set-GitHubConfiguration -DefaultPassThru" to control the default behavior
720
+ of this switch.
721
+
717
722
. PARAMETER AccessToken
718
723
If provided, this will be used as the AccessToken for authentication with the
719
724
REST Api. Otherwise, will attempt to use the configured value or will run unauthenticated.
@@ -774,6 +779,8 @@ filter Rename-GitHubTeam
774
779
[ValidateNotNullOrEmpty ()]
775
780
[string ] $NewTeamName ,
776
781
782
+ [switch ] $PassThru ,
783
+
777
784
[string ] $AccessToken
778
785
)
779
786
@@ -789,6 +796,7 @@ filter Rename-GitHubTeam
789
796
OrganizationName = $OrganizationName
790
797
TeamSlug = $TeamSlug
791
798
TeamName = $NewTeamName
799
+ PassThru = (Resolve-ParameterWithDefaultConfigurationValue - Name PassThru - ConfigValueName DefaultPassThru)
792
800
AccessToken = $AccessToken
793
801
}
794
802
You can’t perform that action at this time.
0 commit comments