Skip to content

Restore-WTConfig

SYNOPSIS

Restore-WTConfig will restore your Windows Terminal configuration.

SYNTAX

Restore-WTConfig [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Restore-WTConfig will restore your Windows Terminal configuration to a backup which was created when the module was loaded into your current session.

The backup is stored in memory, and will be deleted when you close the current PowerShell session.

EXAMPLES

EXAMPLE 1

Restore-WTConfig

Restore-WTConfig will restore your Windows Terminal configuration

PARAMETERS

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: wi

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: System.Management.Automation.SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

None.

OUTPUTS

None.

NOTES

https://github.com/sassdawe/PSWinTerminal

Back to top