Powershell screen buffer
i am using Windows Powershell, and just wondered if there is a way to scroll through the screen buffer (like for example in UNIX bash with SHIFT + PgUp / SHIFT + PgDn). I know the there is a "more" command for paging through the screen buffer, but some keyboard shortcuts would be much more comfortable.
Is there any way to scroll the through the output without using the mouse?
Solution 1:
The scrollback is provided by Windows console itself, not by the shell inside (just like xterm and similar apps in Unix). And to activate its "scroll" feature, use Alt+Space, E, L as John Rennie described. (You could try the Scroll Lock key, but I can't test it myself here.)
Solution 2:
Press F7. Not the same as page up and page down but still very useful.
JR
Re Alexander's comment: oops, sorry I misunderstood your question. Irritatingly there isn't a simply keystroke to page up or down through the screen buffer. However if you use the comination alt-space, E L (i.e. select Edit/Scroll from the system menu) you'll find the arrows and page up/down scroll through the screen buffer. Press escape to exit the "scroll mode".
Maybe there is a hotkey to enter scroll mode, but I've been able to find it.
Solution 3:
In Windows 10 Powershell use Ctrl+PgUp/PgDn to scroll by line.
In Windows 10 cmd use Ctrl+↓/↑ to scroll by line.
Solution 4:
Just hold ctrl and push the up or down arrow. That works for me in Windows 10.