Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

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.
share|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

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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