How to go fullscreen in PowerShell

╄→гoц情女王★ 提交于 2019-12-03 11:27:14

问题


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 probably hard to do, how to maximize it according to current resolution?


回答1:


Right click the top bar and select properties. Then depending on your screen resolution select the appropriate size. (under the layout tab).




回答2:


Try typing the following command:

mode 300

after the window opens




回答3:


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:




回答4:


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




回答5:


Display Options -> Fullscreen, or ALT+ENTER should enter fullscreen mode.




回答6:


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




回答7:


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


来源:https://stackoverflow.com/questions/5197278/how-to-go-fullscreen-in-powershell

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!