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

## SYNOPSIS

Exports Exchange Online resource mailboxes and their calendar processing settings

## SYNTAX

```powershell theme={null}
Get-ExResourceMailbox [[-PrimarySmtpAddress] <string[]>] [-Filter <string[]>] [-UseExchangeDNHash]
 [-ExportToExcel]
```

## DESCRIPTION

This function retrieves Exchange Online resource mailboxes (rooms and equipment)
and their calendar processing parameters.
It also includes a
It also includes a "splatting" feature that deploys distribution groups to display all individual members.

PARAMETER Filter
Specifies filters to target specific mailboxes.
If no filter is provided, all resource mailboxes will be returned.
Example: '\{emailaddresses -like "\*contoso.com"}''

## EXAMPLES

### EXAMPLE 1

```powershell theme={null}
Get-ExResourceMailbox | Export-Csv c:\scripts\All365Mailboxes.csv -NoTypeInformation -Encoding UTF8
```

Exports all resource mailboxes to a CSV file.

### EXAMPLE 2

```powershell theme={null}
Get-ExResourceMailbox -Filter '{emailaddresses -like "*contoso.com"}' -ExpandGroups | Export-Csv c:\scripts\365ResourceMailboxes.csv -NoTypeInformation -Encoding UTF8
```

Exports resource mailboxes from the contoso.com domain with group expansion.

### EXAMPLE 3

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

Exports results to an Excel file.

## PARAMETERS

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

### -Filter

\{\{ Fill Filter Description }}

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

### -PrimarySmtpAddress

Specifies an array of primary SMTP addresses to retrieve specific mailboxes.
If not specified, the function will automatically retrieve the mailboxes according to the filters.

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

### -UseExchangeDNHash

Uses a hash of Exchange Legacy DNs to optimize performance when processing
delegates and reservation strategies.

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

## RELATED LINKS

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