< Back

Set-PDKGithubCredential

Sat Jan 18, 2020 6:41 pm

NAME Set-PDKGithubCredential



SYNOPSIS

.





SYNTAX

Set-PDKGithubCredential [-Credential] <PSCredential> [-PassThru] [<CommonParameters>]



Set-PDKGithubCredential [-Token] <String> [-PassThru] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-Credential <PSCredential>

.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Token <String>

.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-PassThru [<SwitchParameter>]



Required? false

Position? named

Default value False

Accept pipeline input? false

Accept wildcard characters? 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



OUTPUTS

System.Void





NOTES





File Name : Set-PDKGithubCredential.ps1

Author : Thomas ILLIET (contact@thomas-illiet.fr)



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Set-PDKGithubCredential













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Set-PDKGithubCredential -Credential (get-credential)













-------------------------- EXAMPLE 3 --------------------------



PS C:\\>Set-PDKGithubCredential -Token "MyMagicGithubToken"















RELATED LINKS