We help IT Professionals succeed at work.

how to increase number of visible rows in Exchange 2007 Management Shell

calljdub
calljdub asked
on
How can I increase (and keep) the number of rows returned/available in the Exchange Management Shell?

I now have 1000 mailboxes and when I run "get-mailbox" the command returns all 1000, but I can only copy/paste about 40 at a time.  I would like to be able to scroll up/down and view the complete output of "get-mailbox".  And, how to set shell to always allow that many rows for viewing.

thanks,

jw
Comment
Watch Question

Commented:
you can use DOS style output redirection, by following your command line with

CommandLineStuff >>c:\stuff.txt

this will write everything that is normally written to the screen, to a text file on root of C, called stuff.txt. side benefit is you also gain horizontal room, so depending on the command you are running, you may actually get neater output. You can then copy and past from that text file.
J P

Commented:
hi there try
right-click the icon in the upper left corner of the title bar and then click Properties.
on the Layout tab set the desired height under the Window Size heading
peace
J P

Commented:
ops forgot to add you can also do a Properties on the shortcut from start menu and change more permanently
peace again