Microsoft Exam Questions

Which Windows PowerShell command should you run?

You have an Exchange Online tenant.
You must identify mailboxes that are no longer in use.
You need to locate the inactive mailboxes.
Which Windows PowerShell command should you run?

A.
Get-StaleMailboxReport -Expression

B.
Get-StaleMailboxReport -Organization

C.
Get-MailboxActivityReport -Organization

D.
Get-StaleMailboxReport –EndDate

Explanation:
Use the Get-StaleMailboxReport cmdlet to view the number of mailboxes that haven’t been
accessed for at least 30 days.
The EndDate parameter specifies the end date of the date range.
Incorrect:
Not A: The Get-StaleMailboxReport command has no –Expression parameter.
Not B: The Get-StaleMailboxReport command has no – Organization parameter
Not C: The Get-MailboxActivityReport shows you a count of the mailboxes created in your Exchange
Online organisation between set dates.

Get-StaleMailboxReport
https://technet.microsoft.com/en-us/library/jj200763(v=exchg.160).aspx