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?
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?
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
If you want to set the title when you spawn a process:
The simplest way of doing this is to use the following command in the PowerShell window:-
You can also use the following command in the Command prompt(cmd) or RunAs Dialog Box for getting the PowerShell Window with desired Title in the traditional CMD styled window.
P.S: Its like traditional CMD with PowerShell features and Syntax Highlighting.
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.