Set the Console Window Title in PowerShell
Label the terminal window so multiple sessions are easy to tell apart.
01Command
$ $Host.UI.RawUI.WindowTitle = "cmdcv - PowerShell"02What it does
The PowerShell host exposes raw console properties through $Host.UI.RawUI, and WindowTitle controls the title bar. Setting it in a profile or at the start of a long task makes multiple terminals distinguishable at a glance.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- PSHostRawUserInterfaceEvidence: Exposes console properties including WindowTitle.
Last verified: 2026-09-20 · Category: System & Settings
06Related solutions
Use the System File Checker to verify every protected Windows system file against known-good copies and automatically replace the damaged ones.
Use Windows Package Manager to install, search, and upgrade thousands of applications from the community repository in one command.
Understand PowerShell's execution policy scopes and set the one that lets you run your own local scripts without gutting the security model.