Skip to content

Instantly share code, notes, and snippets.

@matthewp
Created November 25, 2012 02:43
Show Gist options
  • Save matthewp/4142184 to your computer and use it in GitHub Desktop.
Save matthewp/4142184 to your computer and use it in GitHub Desktop.
Reset powershell colors

This function is useful when a program jacks up your colors. Change to what you use.

function Reset-Colors ()
{
	$HOST.UI.RawUI.BackgroundColor = "DarkMagenta"
	$HOST.UI.RawUI.ForegroundColor = "DarkYellow"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment