You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSShouldProcess","", Justification="Methods called within here make use of PSShouldProcess, and the switch is passed on to them inherently.")]
[Diagnostics.CodeAnalysis.SuppressMessageAttribute("PSShouldProcess","", Justification="Methods called within here make use of PSShouldProcess, and the switch is passed on to them inherently.")]
164
-
[CmdletBinding(SupportsShouldProcess)]
167
+
[CmdletBinding(
168
+
SupportsShouldProcess,
169
+
DefaultParametersetName='ID')]
165
170
param
166
171
(
167
172
[Parameter(Mandatory)]
168
173
[ValidateNotNullOrEmpty()]
169
174
[String] $OrganizationName,
170
175
171
-
[Parameter(Mandatory)]
176
+
[Parameter(
177
+
Mandatory,
178
+
ParameterSetName='Name')]
172
179
[ValidateNotNullOrEmpty()]
173
180
[String] $TeamName,
174
181
182
+
[Parameter(
183
+
Mandatory,
184
+
ParameterSetName='ID')]
185
+
[int] $TeamId,
186
+
175
187
[string] $AccessToken,
176
188
177
189
[switch] $NoStatus
@@ -181,23 +193,29 @@ function Get-GitHubTeamMember
0 commit comments