CmdID / PowerShell / Cmdlets / Get
Get-EXOMailboxStatistics
Use the Get-EXOMailboxStatistics cmdlet to return information about a mailbox, such as the size of the mailbox, the number of messages it contains, and the last time it was accessed. Exchange PowerShell reference
From the Exchange PowerShell reference 11 parameters Its page in the reference
Parameters
-ArchiveThe Archive switch specifies whether to return mailbox statistics for the archive mailbox associated with the specified mailbox.-DatabaseGuidThe DatabaseGuid parameter filters the results by the GUID of mailbox database that hosts the Mailbox.-ExchangeGuidThe ExchangeGuid parameter filters the results by the GUID of mailbox (aso known as the Mailbox GUID).-IdentityThe Identity parameter specifies the mailbox you want to view.-IncludeMoveHistoryThis parameter is reserved for internal Microsoft use.-IncludeMoveReportThis parameter is reserved for internal Microsoft use.-IncludeSoftDeletedRecipientsThe IncludeSoftDeletedRecipients switch specifies whether to include soft deleted recipients in the results.-PrimarySmtpAddressThe PrimarySmtpAddress identifies the mailbox that you want to view by primary SMTP email address (for example, navin@contoso.com).-PropertiesThe Properties parameter specifies the properties that are returned in the output of this cmdlet.-PropertySetsThe PropertySets parameter specifies a logical grouping of properties that are returned in the output of this cmdlet.-UserPrincipalNameThe UserPrincipalName parameter identifies the mailbox that you want to view by UPN (for example, navin@contoso.onmicrosoft.com).