Solved

Exchange PowerShell Output formatting?

Posted on 2014-03-12
2
526 Views
Last Modified: 2014-03-13
How can I make the Exchange output of a PS command display in a somewhat organized/readable format in column format?

Get-MoveRequestStatistics "Clark Griswold" | select DisplayName, TotalMailboxSize, TotalMailboxItemCount, BytesTransferred, BytesTransferredPerMinute, ItemsTransferred, RemoteHostName, RemoteCredentialUsername, TargetDeliveryDomain, PercentComplete, Status | Format-Table

Output kind of looks chopped off :

DisplayName  TotalMailbox TotalMailbox BytesTransfe BytesTransfe ItemsTransfe RemoteHostNa RemoteCreden TargetDeliv PercentComp
             Size            ItemCount rred         rredPerMinut         rred me           tialUsername eryDomain          lete
                                                    e                                                                          
-----------  ------------ ------------ ------------ ------------ ------------ ------------ ------------ ----------- -----------
ABC_Clark... 758.2 MB ...          328 221.4 MB ... 31 MB (32...          126 email1.domai... ABC\clark... domain...          45

Is there a way to display on the screen on a better format? or do I have to export to CSV or TXT file?
0
Comment
Question by:GCTTechs
2 Comments
 
LVL 18

Accepted Solution

by:
Raheman M. Abdul earned 350 total points
ID: 39924481
Get-MoveRequestStatistics "Clark Griswold" | Format-Table  DisplayName, TotalMailboxSize, TotalMailboxItemCount, BytesTransferred, BytesTransferredPerMinute, ItemsTransferred, RemoteHostName, RemoteCredentialUsername, TargetDeliveryDomain, PercentComplete, Status  -autosize -wrap
0
 
LVL 68

Assisted Solution

by:Qlemo
Qlemo earned 150 total points
ID: 39924985
The modified code shows some of the options you have: selecting a few column only, use wrap and/or autosize. Format-List helps to sbow a lot of properties for a few objects. But a complete "display" of many properties for a lot of objects can only be managed with CSV or XML output.
0

Featured Post

Why do Marketing keep bothering you?

Is your marketing department constantly asking for new email signature updates? Are they requesting a different design for every department? Do they need yet another banner added? Don’t let it get you down! There is an easy way to manage all of these requests...

Join & Write a Comment

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create an email address policy in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Mail Flow…
In this video we show how to create a mailbox database in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Servers >> Data…

746 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now