Link to home
Start Free TrialLog in
Avatar of mleblanc33
mleblanc33Flag for United States of America

asked on

how to pause output in exchange managment shell

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.
Avatar of Neptune IT
Neptune IT
Flag of United States of America image

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.
ASKER CERTIFIED SOLUTION
Avatar of Mark Galvin
Mark Galvin
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial