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

## SYNOPSIS

Get Exchange Mailbox Max Send and Receive Size limits.

## SYNTAX

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

## DESCRIPTION

This function retrieves the maximum send and receive size limits for Exchange Online mailboxes.

## EXAMPLES

### EXAMPLE 1

```powershell theme={null}
Get-ExMailboxMaxSize
    
Retrieves the max send and receive size limits for all Exchange Online mailboxes.
```

### EXAMPLE 2

```powershell theme={null}
Get-ExMailboxMaxSize -ByDomain "contoso.com"
```

Retrieves the max send and receive size limits for mailboxes in the specified domain.

### EXAMPLE 3

```powershell theme={null}
Get-ExMailboxMaxSize -Identity "user@contoso.com"
```

Retrieves the max send and receive size limits for the specified mailbox.

### EXAMPLE 4

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

Exports results to an Excel file.

## PARAMETERS

### -ByDomain

The domain to filter mailboxes by their primary SMTP address.

```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: ''
```

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

The identity of the mailbox to retrieve.
This can be the primary SMTP address, alias, or GUID.

```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: ''
```

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

## RELATED LINKS

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