PowerTip: Restore PowerShell ISE to Default Settings

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()