< Back
Add-GithubUserToOrganisation
Post
NAME Add-GithubUserToOrganisation
SYNTAX
Add-GithubUserToOrganisation [-OrganisationName] <string> [-githubusername] <string> [[-role] {admin | member}]
[[-OneTimePassword] <string>] [<CommonParameters>]
PARAMETERS
-OneTimePassword <string>
Required? false
Position? 3
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-OrganisationName <string>
Required? true
Position? 0
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-githubusername <string>
Required? true
Position? 1
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-role <string>
Required? false
Position? 2
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? 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
ALIASES
None
REMARKS
None
description : {@{Text=This function will connect the current PowerShell session to the Github API via Basic
Authentication. Also supports 2 Factor Authentication via One Time Password.
The user name and password have to be provided on the command line as Github is not following RFC
standards to the full extent: https://developer.github.com/v3/auth/
If you don't want to provide the password on the command line, don't provide it and enter it in the
prompt.}}
syntax : @{syntaxItem=@{name=Connect-Github; parameter=System.Management.Automation.PSObject[]}}
parameters : @{parameter=System.Management.Automation.PSObject[]}
examples : @{example=System.Management.Automation.PSObject[]}
details : @{name=Connect-Github; description=System.Management.Automation.PSObject[]}
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
Name : Connect-Github
Category : Function
Synopsis : Connects PowerShell to the Github API
Component :
Role :
Functionality :
ModuleName : GithubConnect
SYNTAX
Add-GithubUserToOrganisation [-OrganisationName] <string> [-githubusername] <string> [[-role] {admin | member}]
[[-OneTimePassword] <string>] [<CommonParameters>]
PARAMETERS
-OneTimePassword <string>
Required? false
Position? 3
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-OrganisationName <string>
Required? true
Position? 0
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-githubusername <string>
Required? true
Position? 1
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? false
-role <string>
Required? false
Position? 2
Accept pipeline input? false
Parameter set name (All)
Aliases None
Dynamic? 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
ALIASES
None
REMARKS
None
description : {@{Text=This function will connect the current PowerShell session to the Github API via Basic
Authentication. Also supports 2 Factor Authentication via One Time Password.
The user name and password have to be provided on the command line as Github is not following RFC
standards to the full extent: https://developer.github.com/v3/auth/
If you don't want to provide the password on the command line, don't provide it and enter it in the
prompt.}}
syntax : @{syntaxItem=@{name=Connect-Github; parameter=System.Management.Automation.PSObject[]}}
parameters : @{parameter=System.Management.Automation.PSObject[]}
examples : @{example=System.Management.Automation.PSObject[]}
details : @{name=Connect-Github; description=System.Management.Automation.PSObject[]}
xmlns:maml : http://schemas.microsoft.com/maml/2004/10
xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10
xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10
Name : Connect-Github
Category : Function
Synopsis : Connects PowerShell to the Github API
Component :
Role :
Functionality :
ModuleName : GithubConnect