Not sure about you, but I am constantly trying to keep track of multiple PowerShell console windows that I have open. I tend to try and update the title of the console by using the following line:
$Host.UI.RawUI.WindowTitle = "Some Fancy Title"
However, trying to remember that is a pain in the butt. So I have created a function and added it to a new Module on the PowerShell Gallery. Why did I wait so long to make a function for this?!?!
Install-Module -Name "jpsider" Update-ConsoleTitle -Title "Some Fancy Title"
This function name is so much easier to remember. Hopefully, you will find it useful.
I plan on adding more helpful functions to this module over time.
Thhis is a great post thanks
LikeLike