CMDLET display issue
I used "Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label="TotalItemSize(KB)";expression={$_.TotalItemSize.Value.ToKB()}}, ItemCount" to display over 600 user's mailboxs size. But it is running fast and no stop page by page to show all of information. does the the cmdlet have parameter to display page bypage or create a file to hold all display message? thanks George Wang
August 26th, 2010 9:51pm

Append "|more " to the end of your command. Thanks Shaba
Free Windows Admin Tool Kit Click here and download it now
August 26th, 2010 11:31pm

To create a file append "|export-csv filename.csv" Good luck Shaba
August 26th, 2010 11:31pm

Shaba, it works. Thanks George
Free Windows Admin Tool Kit Click here and download it now
August 27th, 2010 12:01am

Hi, Shaba, To create a file append "|export-csv filename.csv" does not work. it shows ".... not recognize export...." help! thnaks George
September 1st, 2010 10:30pm

Hi, Shaba, the all message is below. Welcome to the Exchange Management Shell! Full list of cmdlets: get-command Only Exchange cmdlets: get-excommand Cmdlets for a specific role: get-help -role *UM* or *Mailbox* Get general help: help Get help for a cmdlet: help <cmdlet-name> or <cmdlet-name> -? Show quick reference guide: quickref Exchange team blog: get-exblog Show full output for a cmd: <cmd> | format-list Tip of the day #66: Do you want to get a list of the backup status of all mailbox databases in your organization? Type: Get-MailboxDatabase -Status | Format-Table Name, Server, *Backup* How about just the mailboxes on a specific server? Type: Get-MailboxDatabase -Server <Server Name> -Status | Format-Table Name, *Backup* [PS] C:\Documents and Settings\administrator.ACLD\Desktop>Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft DisplayName,@{label="TotalItemSize( KB)";expression={$_.TotalItemSize.Value.ToKB()}}, ItemCount |export -csv c:\mail boxsize901.csv The term 'export' is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again. At line:1 char:170 + Get-MailboxStatistics | Sort-Object TotalItemSize -Descending | ft DisplayNam e,@{label="TotalItemSize(KB)";expression={$_.TotalItemSize.Value.ToKB()}}, Item Count |export <<<< -csv c:\mailboxsize901.csv [PS] C:\Documents and Settings\administrator.ACLD\Desktop> thanks George
Free Windows Admin Tool Kit Click here and download it now
September 1st, 2010 10:51pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics