PowerTip: Personalize Your Copy of PowerShell
Summary: Easily add your user name to your Windows PowerShell console window.
I often start multiple Windows PowerShell consoles with different credentials.
To avoid getting confused, how can I change the window title to my user name?
Use the $host automatic variable, and change the WindowTitle property to the user name:
$host.ui.RawUI.WindowTitle = $env:USERNAME