Skip to main content

SYNOPSIS

Retrieves mailbox protocol settings for Exchange Online mailboxes.

SYNTAX

DESCRIPTION

This function retrieves the protocol settings (MAPI, OWA, IMAP, POP, EWS, ActiveSync) for Exchange Online mailboxes. It can filter mailboxes by identity or by domain. Additionally, it provides information about SMTP Client Authentication settings at both the mailbox and tenant levels.

EXAMPLES

EXAMPLE 1

Retrieves mailbox protocol settings for all Exchange Online mailboxes.

EXAMPLE 2

Retrieves mailbox protocol settings for the specified mailbox.

EXAMPLE 3

Retrieves mailbox protocol settings for all mailboxes in the specified domain.

EXAMPLE 4

Exports mailbox protocol settings for all Exchange Online mailboxes to an Excel file in the user’s profile directory.

PARAMETERS

-ByDomain

The domain to filter mailboxes by. Only mailboxes with a primary SMTP address in this domain will be processed.

-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

The identity of the mailbox to retrieve protocol settings for. If not specified, the function retrieves settings for all mailboxes.

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