This example uses the Archive switch to view the statistics for Ayla's archive. Example 3 Get-MailboxFolderStatistics -Identity -Archive This example uses the FolderScope parameter to view the statistics for calendar folders for the user Chris. Example 2 Get-MailboxFolderStatistics -Identity Chris -FolderScope Calendar This example doesn't specify the FolderScope parameter and retrieves all the information about the user Chris in the Contoso domain. Examples Example 1 Get-MailboxFolderStatistics -Identity contoso\chris The Get-MailboxFolderStatistics cmdlet shouldn't be confused with the Get-MailboxStatistics cmdlet. The Get-MailboxFolderStatistics cmdlet can return hidden items for the following values: FolderSize, FolderAndSubfolderSize, ItemsInFolder and ItemsInFolderAndSubfolders. To find the permissions required to run any cmdlet or parameter in your organization, see Find the permissions required to run any Exchange cmdlet.Ī mailbox can have hidden items that are never visible to the user and are only used by applications. Although this topic lists all parameters for the cmdlet, you may not have access to some parameters if they're not included in the permissions assigned to you. You need to be assigned permissions before you can run this cmdlet. In this article Syntax Get-Mailbox Folder Statistics For more information, see Connect to Exchange Online PowerShell.įor information about the parameter sets in the Syntax section below, see Exchange cmdlet syntax. Note: In Exchange Online PowerShell, we recommend that you use the Get-EXOMailboxFolderStatistics cmdlet instead of this cmdlet. 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. Some parameters and settings may be exclusive to one environment or the other. This cmdlet is available in on-premises Exchange and in the cloud-based service.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |