February 18th, 2013

PowerTip: Keep Output from Scrolling Off the PowerShell Console

Doctor Scripto
Scripter

Summary: Learn how to keep content from scrolling off the Windows PowerShell console.

Hey, Scripting Guy! Question How can I keep content from scrolling off the Windows PowerShell console and, instead, display content a page at a time?

Hey, Scripting Guy! Answer Pipe the results to the More function to display content in the Windows PowerShell console one page at a time. Keep in mind that the More function does not work inside the Windows PowerShell ISE, as shown here.

Get-Command * -CommandType cmdlet | more

Author

The "Scripting Guys" is a historical title passed from scripter to scripter. The current revision has morphed into our good friend Doctor Scripto who has been with us since the very beginning.

0 comments

Discussion are closed.