- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to change the size of the Console using PowerShell?
You can change the size of the PowerShell Console with GUI and CLI both.
With GUI −
With CLI −
To change the Width of the console,
$host.UI.RawUI.WindowSize.Width = 150
To change the Height of the console,
$host.UI.RawUI.WindowSize.Height = 60
- Related Articles
- How to change the Title of the console using PowerShell command?
- How to change the size of the Azure VM using PowerShell?
- How to change the Foreground color or Font color of the console using PowerShell?
- How to change PowerShell ISE font Size using command?
- How to change the WindowLeft of the Console
- How to check the properties of the Windows PowerShell Console?
- How to get the folder size using PowerShell?
- How to change the Drive letter using PowerShell?
- How to change the CursorLeft of the Console in C#?
- How to change the CursorSize of the Console in C#?
- How to change the CursorTop of the Console in C#?
- How to change the WindowHeight of the Console in C#?
- How to change the WindowTop of the Console in C#?
- How to change the WindowWidth of the Console in C#?
- How to change BufferWidth of the Console in C#?

Advertisements