问题
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