Which cmdlet should you run?

You need to generate a report on all mailboxes in your Exchange Server 2007 organization. The report must detail the number of items per mailbox folder. Which cmdlet should you run?

You need to generate a report on all mailboxes in your Exchange Server 2007 organization. The report must detail the number of items per mailbox folder. Which cmdlet should you run?

A.
Get-ExchangeServer | Get-Mailbox | Get-MailboxStatistics | Export-Csv -Path c:allmbstats.csv

B.
Get-ExchangeServer | Get-Mailbox | Get-MailboxFolderStatistics | Export-Csv -Path

C.
Get-Mailuser | Get-MailboxFolderStatistics | Export-Csv -Path c:allmbfstats.csv

D.
Get-ExchangeServer | Get-Message | Export-Csv -Path c:allmbfstats.csv



Leave a Reply 4

Your email address will not be published. Required fields are marked *


riyad khatib

riyad khatib

correct answer should be “A”

riyad khatib

riyad khatib

Answer should be “D”

mr_tienvu

mr_tienvu

Ref: http://technet.microsoft.com/en-us/library/aa996762.aspx

“Use the Get-MailboxFolderStatistics cmdlet to retrieve information about the folders in a specified mailbox, including the number and size of items in the folder, the folder name and ID, and other information.”

So, I think B is correct answer.

mr_tienvu

mr_tienvu

Yes,

To use the Exchange Management Shell to enable or disable message subject logging in the message tracking logs on a Mailbox server. Run the following command:
Set-MailboxServer -MessageTrackingLogSubjectLoggingEnabled

So, D. is correct answer.