PowerTip: Change the PowerShell Console Title

PowerTip: Change the PowerShell Console Title

  • Comments 1
  • Likes

Summary: Learn how to change the Windows PowerShell console title.


Hey, Scripting Guy! Question How can I change the title of the Windows PowerShell console?

Hey, Scripting Guy! Answer One way to do this is to use the WindowTitle property from $host.ui.rawui, as shown here.

$host.ui.RawUI.WindowTitle = "Changed Title"

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • This should be a cmdlet!

    Cool.