Skip to main content

SYNOPSIS

Gets detailed mailbox statistics for Exchange Online including item count by type.

SYNTAX

DESCRIPTION

This function retrieves comprehensive statistics for an Exchange Online mailbox, including:
  • General statistics (size, total item count, etc.)
  • Item count by folder (Inbox, Sent Items, etc.)
  • Number of contacts
  • Number of calendar items
  • Number of tasks
  • Number of notes

EXAMPLES

EXAMPLE 1

Gets detailed statistics for the specified mailbox.

EXAMPLE 2

Gets statistics with folder details included.

EXAMPLE 3

Exports results to an Excel file.

PARAMETERS

-ExportPath

Optional output directory for the Excel export (defaults to the user profile).

-ExportToExcel

If specified, exports the results to an Excel file in the user’s profile directory.

-Identity

Mailbox identity (email address, username, etc.)

-IncludeFolderDetails

Include folder details in the results

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

System.String

OUTPUTS

NOTES

Author: Bastien Perez Version: 1.0.0