Cmdlet
Reset-ConsoleSetting
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 SetsDescription
Without -Name every setting is reset. Afterwards the next source applies: an environment variable, the settings file, or detection.
Examples
Example 1
Reset-ConsoleSetting ThemeGo back to the saved theme
Example 2
Reset-ConsoleSetting -SaveRemove every saved setting
Parameters
- -Name String[]
- The settings to reset; all of them when omitted.
- -Save SwitchParameter
- 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.