diff --git a/ResizeConsole.ps1 b/ResizeConsole.ps1 index 27304e5..39bc145 100644 --- a/ResizeConsole.ps1 +++ b/ResizeConsole.ps1 @@ -1,4 +1,4 @@ $width=80 $height=24 -$Host.UI.RawUI.BufferSize = New-Object Management.Automation.Host.Size ($width, $height) -$host.UI.RawUI.WindowSize = New-Object -TypeName System.Management.Automation.Host.Size -ArgumentList ($width, $height) \ No newline at end of file +$Host.UI.RawUI.BufferSize = New-Object Management.Automation.Host.Size (1000, 9999) +$host.UI.RawUI.WindowSize = New-Object System.Management.Automation.Host.Size ($width, $height)