If I have multiple Powershell Prompts to different machines, it can get confusing. While, the command prompts all show the machine I am at, I was trying to find a solution that changed the titlebar to the machine I'm hooked up.

Or I am open to any other suggestions.

link|improve this question
feedback

2 Answers

up vote 2 down vote accepted
  • One way to do this, if you don't have a ton of servers to manage, is to change the background of your PowerShell console for different servers. I usually do this for user account management, i.e. a PS console launched as a normal user is blue and an admin console has a red background. It gets impractical if you have more than five or six servers, though.
  • You could make the prompt reflect the hostname of the server you're on. Check out some concepts behind changing PowerShell prompts here and here. Why user@hostname isn't in the default prompt for PowerShell is beyond me.
  • You may be interested in the "PowerCMD" utility.
link|improve this answer
Yeah, I need to get to reading. On another note, the random animals OReily chooses has always cracked me up. – surfasb Aug 13 '11 at 23:40
feedback

you can set the shell window title with $Host.UI.RawUI.WindowTitle = "Eat at Joe's"

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.