January 3rd, 2016

PowerTip: Restore PowerShell ISE to Default Settings

Doctor Scripto
Scripter

Summary: Learn how to restore the Windows PowerShell ISE to its default configurations.

Hey, Scripting Guy! Question How can I restore the Windows PowerShell ISE to its default configurations?

Hey, Scripting Guy! Answer Use the four built-in RestoreDefault methods with the PSise object to bring back everything in the ISE to the original settings:

$PSise.Options.RestoreDefaults()
$PSise.Options.RestoreDefaultConsoleTokenColors()
$PSise.Options.RestoreDefaultTokenColors()
$PSise.Options.RestoreDefaultXMLTokenColors()

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.