> ## Documentation Index
> Fetch the complete documentation index at: https://ps365.clidsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get-ExMailboxStatisticsInfo

## SYNOPSIS

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

## SYNTAX

```powershell theme={null}
Get-ExMailboxStatisticsInfo [[-Identity] <string>] [-IncludeFolderDetails] [-ExportToExcel]
 [-ExportPath <string>]
```

## 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

```powershell theme={null}
Get-ExMailboxStatisticsInfo -Identity "user@domain.com"
```

Gets detailed statistics for the specified mailbox.

### EXAMPLE 2

```powershell theme={null}
Get-ExMailboxStatisticsInfo -Identity "user@domain.com" -IncludeFolderDetails
```

Gets statistics with folder details included.

### EXAMPLE 3

```powershell theme={null}
Get-ExMailboxStatisticsInfo -ExportToExcel
```

Exports results to an Excel file.

## PARAMETERS

### -ExportPath

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

```yaml theme={null}
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -ExportToExcel

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

```yaml theme={null}
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -Identity

Mailbox identity (email address, username, etc.)

```yaml theme={null}
Type: System.String
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: false
  ValueFromPipeline: true
  ValueFromPipelineByPropertyName: true
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### -IncludeFolderDetails

Include folder details in the results

```yaml theme={null}
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
```

### 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](https://go.microsoft.com/fwlink/?LinkID=113216).

## INPUTS

### System.String

## OUTPUTS

## NOTES

Author: Bastien Perez
Version: 1.0.0

## RELATED LINKS

* [https://ps365.clidsys.com/docs/commands/Get-ExMailboxStatisticsInfo](https://ps365.clidsys.com/docs/commands/Get-ExMailboxStatisticsInfo)
