SYNOPSIS
Retrieves all Exchange mailboxes for a specified domain.SYNTAX
DESCRIPTION
This function retrieves all Exchange mailboxes that belong to a specified domain. It filters the mailboxes based on their primarySMTP address to ensure they match the provided domain.EXAMPLES
EXAMPLE 1
PARAMETERS
-Domain
The domain for which to retrieve the mailboxes. This should be a string representing the domain (e.g., “example.com”).-RecipientTypeDetails
Filters the mailboxes by their recipient type details. Acceptable values include:- UserMailbox
- SharedMailbox
- RoomMailbox
- EquipmentMailbox
- LinkedMailbox
- SchedulingMailbox