Retrieving all Recipient objects from Exchange Online and grouping by Recipient Type Details.
The script can assist with the migration of Exchange data or simply provide an overview of all created objects.
Sample Output
DynamicDistributionGroup: 10
EquipmentMailbox: 20
GroupMailbox: 1000
GuestMailUser: 10
MailContact: 70
MailUniversalDistributionGroup: 800
MailUniversalSecurityGroup: 1000
MailUser: 300
RoomList: 10
RoomMailbox: 400
SchedulingMailbox: 30
SharedMailbox: 450
TeamMailbox: 90
UserMailbox: 3000
PowerShell Code
Note: This code requires the Exchange Online Management module.