Solved

how to pause output in exchange managment shell

Posted on 2015-01-22
2
131 Views
Last Modified: 2015-01-22
How do I pause output for running:
Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label="TotalItemSize(MB)";expression={$_.TotalItemSize.Value.ToMB()}},ItemCount

I can't scroll up to the top.
0
Comment
Question by:mleblanc33
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Expert Comment

by:neptuneit
ID: 40564383
Just pipe the more command into it. For instance:  

Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label="TotalItemSize(MB)";expression={$_.TotalItemSize.Value.ToMB()}},ItemCount | more 

Open in new window


That will slow it down to one screen at a time

Unfortunately this wont allow you to scroll but it will control the flow of the output so you can see all of it.

Also try exporting it to a txt or csv file.
0
 
LVL 13

Accepted Solution

by:
Mark Galvin earned 500 total points
ID: 40564425
Hi

What you need to do here is increase the buffer size of the window. Right click the PowerShell Icon in the top left and select Properties. Then go to the Layout tab and increase the Height of the Screen Buffer Size. I have mine set to 3000. This will allow you to scroll up. If 3000 is not enough for your task increase it.

Thanks
Mark
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is my first article on Expert Exchange on the Manual Method of Exporting Office 365 Mailboxes to PST format by using the eDiscovery mechanism of Office. Hope you will enjoy the article.
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question