< Back
Backup-GitHubConfiguration
Post
NAME Backup-GitHubConfiguration
SYNOPSIS
Exports the user's current configuration file.
SYNTAX
Backup-GitHubConfiguration [[-Path] <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Exports the user's current configuration file.
This is primarily used for unit testing scenarios.
The Git repo for this module can be found here: http://aka.ms/PowerShellForGitHub
PARAMETERS
-Path <String>
The path to store the user's current configuration file.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
If specified, will overwrite the contents of any file with the same name at th
location specified by Path.
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Backup-GitHubConfiguration -Path 'c:\\foo\\config.json'
Writes the user's current configuration file to c:\\foo\\config.json.
RELATED LINKS
SYNOPSIS
Exports the user's current configuration file.
SYNTAX
Backup-GitHubConfiguration [[-Path] <String>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
DESCRIPTION
Exports the user's current configuration file.
This is primarily used for unit testing scenarios.
The Git repo for this module can be found here: http://aka.ms/PowerShellForGitHub
PARAMETERS
-Path <String>
The path to store the user's current configuration file.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Force [<SwitchParameter>]
If specified, will overwrite the contents of any file with the same name at th
location specified by Path.
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
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Backup-GitHubConfiguration -Path 'c:\\foo\\config.json'
Writes the user's current configuration file to c:\\foo\\config.json.
RELATED LINKS