Ever been using your sweet shell, and decided that having a prompt is annoying? Well you are in luck, because getting rid of the powershell prompt is really easy. Well actually configuring the prompt in powershell is crazy easy.

raw

function prompt
{
	return "THIS IS MY PROMPT >>>>>"
}

That's it. Thats all you need to do to make a prompt. You can put this in your profile if you want to persist it. I guess its fewer characters in bash, but whatever. So lets say you got this far, but not you don't want any prompt. Easy enough right?

raw

function prompt
{
	return ""
}

NOPE. That doesn't do it. Powershell seems to assume you made a mistake here, and defaults your prompt to "PS >". So, lets play some trickery. I'm guessing, when they parse this thing out, they use something like "String.IsNullOrEmpty". So, we need to put some empty whitespace in here to show pshell we know what we want. So, what is a good whitespace character that puts us at the beginning of a blank line? "\r". Carriage return. Everyones favorite whitespace character. Jumps us right back to the beginning of the current line.

raw

function prompt
{
	return "`r"
}

And problem solved. Now we have a powershell window with no prompt. Not sure why you would ever want this. But it can be done.