CmdID / PowerShell / Cmdlets / Get
Get-MailboxFolderStatistics
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. Exchange PowerShell reference
From the Exchange PowerShell reference 14 parameters Its page in the reference
Parameters
-IdentityThe Identity parameter specifies the identity of the mailbox or mail user.-DatabaseThis parameter is reserved for internal Microsoft use.-StoreMailboxIdentityThis parameter is reserved for internal Microsoft use.-ArchiveThe Archive switch specifies whether to return the usage statistics of the archive associated with the mailbox or mail user.-AuditLogThis parameter is reserved for internal Microsoft use.-DiagnosticInfoTypically, you use the DiagnosticInfo parameter only at the request of Microsoft Customer Service and Support to troubleshoot problems.-DomainControllerThe DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory.-FolderScopeThe FolderScope parameter specifies the scope of the search by folder type.-IncludeAnalysisThe IncludeAnalysis switch specifies whether to scan all items within a folder and return statistics related to the folder and item size.-IncludeOldestAndNewestItemsThe IncludeOldestAndNewestItems switch specifies whether to return the dates of the oldest and newest items in each folder.-IncludeSoftDeletedRecipientsThe IncludeSoftDeletedRecipients switch specifies whether to include soft deleted mailboxes in the results.-ResultSizeThe ResultSize parameter specifies the maximum number of results to return.-SkipCount-UseCustomRouting