Is there a way of making powershell appear in fullscreen? Not only maximize it over the screen, but hiding the top-bar as well?
Also, since this is prob开发者_如何学Goably hard to do, how to maximize it according to current resolution?
Try typing the following command:
mode 300
after the window opens
Right click the top bar and select properties. Then depending on your screen resolution select the appropriate size. (under the layout tab).
ALT + ENTER
will full screen the powershell window in Windows 10
If this doesn't work right click the title bar > properties > options and make sure "Use Legacy console" is unchecked:
The trick to using PS in a modern fashion is to use a different type of terminal program. I use ConEmu as it is open-source and free.
Not only will it allow you to run the screen maximised, you can have several tabs, clear-type fonts, custom colours et cetera.
Together with the free 'Source Code Pro' font, it makes for a very nice PS environment.
Hope this helps
Display Options -> Fullscreen, or ALT+ENTER should enter fullscreen mode.
You can create a shortcut with
"%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe " -NoExit -Command "mode 300"
The -NoExit option will keep the console open after running the startup command, and the -Command option of course runs the command on console startup. Besides, if you're not an administrator or you're running Windows 8 (hence apps run as not privileged by default) you can setup your shortcut to run Powershell as administrator always.
Source
If it would be sufficient to merely maximize your PowerShell window, you can simply add -WindowStyle Maximized
to your PowerShell shortcut:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -WindowStyle Maximized
精彩评论