Skip to content
ConsoleMonster
Cmdlet

Reset-ConsoleSetting

Module
ConsoleMonster

Undoes Set-ConsoleSetting for this session, and with -Save removes the value from the settings file.

Syntax

Reset-ConsoleSetting
[[-Name] <String[]>]
[-Save]
[<CommonParameters>]
#
Parameter set: All Parameter Sets

Description

Without -Name every setting is reset. Afterwards the next source applies: an environment variable, the settings file, or detection.

Examples

Example 1

Reset-ConsoleSetting Theme

Go back to the saved theme

Example 2

Reset-ConsoleSetting -Save

Remove every saved setting

Parameters

-Name String[] optionalposition: 0
The settings to reset; all of them when omitted.
-Save SwitchParameter optional
Also removes the values from the settings file.

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.