Display PowerShell Output in a Paging Format

In this blog post, I will show you to output PowerShell cmdlets in a paging format which in many cases provide the better output.

Out-Host

By default with every PowerShell cmdlet, PowerShell output using the out-host cmdlets which you can see as it built into the output however to output content in a paging format we need to use the paging switch.

Paging

In order to output results in a paging use the following cmdlet.

get-process | out-host -paging 

To go to the next page, use the space key and Q to quit the paging view.

Processing…
Success! You're on the list.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.