Profile-FullScreen

$WindowSize = $Host.UI.RawUI.MaxPhysicalWindowSize
[system.console]::SetWindowPosition(0,0)
[system.console]::SetWindowSize(($WindowSize.Width -3),$WindowSize.Height)
[system.console]::SetBufferSize(($WindowSize.Width -3),3000)
Advertisements

One thought on “Profile-FullScreen

  1. For Windows 8 or Server 2012 you may have to tweak the numbers because of it’s insane “touch friendly” window border size

    $WindowSize = $Host.UI.RawUI.MaxPhysicalWindowSize
    [system.console]::SetWindowPosition(0,0)
    [system.console]::SetWindowSize(($WindowSize.Width -3.5),($WindowSize.Height -.5))
    [system.console]::SetBufferSize(($WindowSize.Width -3.5),3000)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s