< Back
Reset-GitHubConfiguration
Post
NAME Reset-GitHubConfiguration
SYNOPSIS
Clears out the user's configuration file and configures this session with all default
configuration values.
SYNTAX
Reset-GitHubConfiguration [-SessionOnly] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Clears out the user's configuration file and configures this session with all default
configuration values.
This would be the functional equivalent of using this on a completely different computer.
The Git repo for this module can be found here: http://aka.ms/PowerShellForGitHub
PARAMETERS
-SessionOnly [<SwitchParameter>]
By default, this will delete the location configuration file so that all defaults are used
again. If this is specified, then only the configuration values that were made during
this session will be discarded.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-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
NOTES
This command will not clear your authentication token. Please use Clear-GitHubAuthentication to accomplish
that.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Reset-GitHubConfiguration
Deletes the local configuration file and loads in all default configration values.
RELATED LINKS
SYNOPSIS
Clears out the user's configuration file and configures this session with all default
configuration values.
SYNTAX
Reset-GitHubConfiguration [-SessionOnly] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Clears out the user's configuration file and configures this session with all default
configuration values.
This would be the functional equivalent of using this on a completely different computer.
The Git repo for this module can be found here: http://aka.ms/PowerShellForGitHub
PARAMETERS
-SessionOnly [<SwitchParameter>]
By default, this will delete the location configuration file so that all defaults are used
again. If this is specified, then only the configuration values that were made during
this session will be discarded.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-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
NOTES
This command will not clear your authentication token. Please use Clear-GitHubAuthentication to accomplish
that.
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Reset-GitHubConfiguration
Deletes the local configuration file and loads in all default configration values.
RELATED LINKS