< Back

Test-GitHubAuthenticationConfigured

Sat Jan 18, 2020 9:41 pm

NAME Test-GitHubAuthenticationConfigured



SYNOPSIS

Indicates if a GitHub API Token has been configured for this module via Set-GitHubAuthentication.





SYNTAX

Test-GitHubAuthenticationConfigured [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Indicates if a GitHub API Token has been configured for this module via Set-GitHubAuthentication.



The Git repo for this module can be found here: http://aka.ms/PowershellForGitHub





PARAMETERS

-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

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

Boolean





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



PS C:\\>Test-GitHubAuthenticationConfigured



Returns $true if the session is authenticated; $false otherwise











RELATED LINKS