
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Change Console Title Using PowerShell Command
For various reasons, you need to change the title of the PowerShell console. Like the title to describe the script. For example, System Information or Service Information.
To change the PowerShell Console Title use the “WindowsTitle” property in RawUI. It is just a temporary change. When you close the console and open it again, the title will be set to the default.
$host.UI.RawUI.WindowTitle = "System Information"
Now the title of the PowerShell console is changed to “System Information”.
You can also supply variable value to this parameter.
$Title = "System Information" $host.UI.RawUI.WindowTitle = $Title
Advertisements