I have many PowerShell windows open, with a command history specific for a task.

In the good old Batch file days I would use Title finance dpt or Title Email Admin. How can I accomplish this in PS?

link|improve this question

67% accept rate
feedback

2 Answers

up vote 4 down vote accepted
PS C:\> $Host.UI.RawUI.WindowTitle = "New Window Title"

You can also throw this in your profile if it's something you want on each new PS window.

Check out the TechNet article Customizing the Windows PowerShell Console

link|improve this answer
feedback

If its your own console you wnat to customise then the following article at how-to-geek has the detail you need. Quite a few steps but worth it.

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.