Skip to main content

Get-ExResourceMailbox

SYNOPSIS

Exports Exchange Online resource mailboxes and their calendar processing settings

SYNTAX

Get-ExResourceMailbox [[-PrimarySmtpAddress] <String[]>] [-Filter <String[]>] [-UseExchangeDNHash]
[-ProgressAction <ActionPreference>] [<CommonParameters>]

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

Get-ExResourceMailbox | Export-Csv c:\scripts\All365Mailboxes.csv -NoTypeInformation -Encoding UTF8

Exports all resource mailboxes to a CSV file.

EXAMPLE 2

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.

PARAMETERS

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

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Filter

{{ Fill Filter Description }}

Type: String[]
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-UseExchangeDNHash

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False

-ProgressAction

{{ Fill ProgressAction Description }}

Type: ActionPreference
Parameter Sets: (All)
Aliases: proga

Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

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

INPUTS

OUTPUTS

NOTES