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